不同Linux服务器之间实现免密访问
①把本机公钥加到要访问的主机的authorized_keys中:ssh-copy-id -i ~/.ssh/id_rsa.pub "-p port user@192.168.1.211"
②登录:ssh user@192.168.1.211
Fire away, fire away! you shoot me down but i won't fall
①把本机公钥加到要访问的主机的authorized_keys中:ssh-copy-id -i ~/.ssh/id_rsa.pub "-p port user@192.168.1.211"
②登录:ssh user@192.168.1.211