1.本地机器生成密钥
ssh-keygen -t rsa
遇到提示直接回车就好
2.将本地公钥拷贝直远程服务器
ssh-copy-id -i ~/.ssh/id_rsa.pub <user@romte_ip>