1.生成公鑰和私鑰:ssh-keygen -t rsassh
而後一直按Enter,直到生成rsa
2.上傳sshssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.xxxssh-key