linux主机设置免密登录

ssh-keygen -t rsa

 

ssh-copy-id -i ~/.ssh/id_rsa.pub -p22 root@192.168.92.160

 

原文地址:https://www.cnblogs.com/zpbolgs/p/15272489.html