密鑰對鏈接ssh,不需密碼

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

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