当前位置:网站首页>SSH password free login

SSH password free login

2022-06-22 19:22:00 Huangbao ~

A   Password free login  B



1.A Computer generated    Public key 

 perform  ssh-keygen  Generate 



 Some can be copied directly 


/Users/ user name /.ssh/id_rsa.pub   Open copy content 


2.B On the computer 

 cd /root/.ssh/

 stay authorized_keys  On the file   Join in   Copied content  .

 Get it done 

 You can also use commands 

scp /root/.ssh/id_rsa.pub [email protected]:/root/.ssh/authorized_keys

 

原网站

版权声明
本文为[Huangbao ~]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206221750419563.html