密钥对链接ssh,不需密码

/usr/bin/ssh-keygen -t rsa ssh

ssh-copy-id -i .ssh/id_rsa.pub 192.168.0.1
spa