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

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

②登录:ssh [email protected]

转载于:https://www.cnblogs.com/whiteprism/p/6566701.html

你可能感兴趣的:(运维)