--ssh互信
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub "-p 18822 root@192.168.1.188"
ssh-copy-id -p 18822 -i /root/.ssh/id_rsa.pub 192.168.1.188
ssh-copy-id -i ~/.ssh/id_rsa.pub "-p 18822 root@192.168.1.188"
原文:https://www.cnblogs.com/hunterhuang8888/p/15207156.html