不同Linux服务器之间实现免密访问

①把本机公钥加到要访问的主机的authorized_keys中:ssh-copy-id -i ~/.ssh/id_rsa.pub "-p port user@192.168.1.211"

②登录:ssh user@192.168.1.211

原文地址:https://www.cnblogs.com/whiteprism/p/6566701.html