cd /root/.ssh/# 生成密钥,一路回车即可ssh-keygen -t dsa# 将密钥传送到远程服务器ssh-copy-id -i id_dsa.pub root@175.24.11.117