当前位置:网站首页>Terminal convenient SSH connection
Terminal convenient SSH connection
2022-06-30 05:20:00 【Cn Sirius】
Ordinary ssh Method
The physical machine ssh Connecting virtual machines
Those without foundation can be connected like this : complex
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , Failed to save the picture , The source station may be burglar proof 851229742)(C:\Users\CNsirius\AppData\Roaming\Typora\typora-user-images\image-20220610164418979.png)]](/img/26/eaa6a2a434db66421b24cdedab3050.png)

Terminal shortcut ssh
Copy 's Ahead
Open terminal settings 
Add a new configuration file on the left -> Add a new control file
Then fill in the second line, the command line
ssh Virtual machine login user name @ virtual machine IP
In fact, that is ssh Copied above
preservation

It can be quickly opened at the physical terminal

Unclassified ssh Sign in
Running on the physical machine :
ssh-keygen
Enter the first path in the back
Enter directly after the password ( You can log in without password )

Your identification has been saved in C:\Users\ /.ssh/id_rsa.
Your public key has been saved in C:\Users\ /.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:ln6ZkrhHWH*********tRbGBeooF4g \ @
The key's randomart image is:
+---[RSA 3072]----+
| .o.*.+ |
|.. o..+ * . |
|***********. |
| *.o.o+.o |
|. = +.o*S . |
| ********* |
+----[SHA256]-----+
Find the directory on the first line , hold id_rsa.pub Copy files to virtual machine
perform
cat id_rsa.pub >> ~/.ssh/authorized_keys
chmod 770 ~/.ssh/authorized_keys
Report not found .ssh Words
Run... First
ssh-keygenThe settings are the same as those on the physical machine
Then the terminal can open the virtual machine without entering the password
Report a mistake
Password is still required :
To the virtual machine keygen It must be a public key pub
Connection timeout
After a while Not even
yes ip Not fixed
The virtual machine needs to be ip Fix
Bridge and net The pattern is fixed IP The method will take time to send
Make a transmission here at that time
边栏推荐
- UnityEngine. JsonUtility. The pit of fromjason()
- Revit Secondary Development - - Project use Panel features not opened
- ParticleSystem in the official Manual of unity_ Collision module
- Unity project hosting platform plasticscm (learn to use 2)
- Unityshader learning notes - Basic Attributes
- Does the tester need to analyze the cause of the bug?
- PKCs 12:personal information exchange syntax v1.1 translation part I
- Pytorchcnn image recognition and classification model training framework
- GoLand No Tests Were Run : 不能使用 fmt.Printf() <BUG>
- East Tower attack and defense world - XSS bypasses the safety dog
猜你喜欢

9. naive Bayes

Xctf--Web--Challenge--area Wp

RedisTemplate 常用方法汇总

虚析构和纯虚析构

VFPBS上传EXCEL并保存MSSQL到数据库中

The fourth day of learning C language for Asian people

LXC 和 LXD 容器总结

企事业单位源代码防泄露工作该如何进行
![[notes] unity webgl input Chinese](/img/f7/805f510ff691227b4c2b529cc1099a.jpg)
[notes] unity webgl input Chinese

Baiwen.com 7 days Internet of things smart home learning experience punch in the third day
随机推荐
【LeetCode】Easy | 232. Using stack to realize queue (pure C manual tearing stack)
Pit of smoothstep node in shadergraph
9. naive Bayes
Display steerable 3D model in front of unity UI
Win10 vs2015 compiling curaengine
[learning notes] AssetBundle, xlua, hot update (use steps)
图扑软件基于钻孔数据的三维地质模型可视化
Records of problems encountered in unity + hololens development
Summary of common loss functions in pytorch
Assembly learning tutorial: accessing memory (3)
[vcs+verdi joint simulation] ~ take the counter as an example
Operation file file class method
Read and save txt files
Unity mobile end sliding screen rotation
VFPBS在IIS下调用EXCEL遇到的Access is denied
Unity limited time use limited trial time and use times
产生 BUG 测试人员需要自己去分析原因吗?
Chapter 7 vertex processing and drawing commands of OpenGL super classic (7th Edition)
RedisTemplate 常用方法汇总
Unity obtains serial port data