ssh-keygen
cat id_rsa.pub >> authorized_keys
目标机器上授权
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
ssh root@{remote.target.host}
ssh配置,布布扣,bubuko.com
ssh配置
原文:http://www.cnblogs.com/liangliangdetianxia/p/3835876.html