ssh 免密登录

生成ssh秘钥和公钥
ssh-keygen -t rsa

cd ~/.ssh/

cat id_rsa.pub >> authorized_keys

原文地址:https://www.cnblogs.com/ahuo/p/9894312.html