linux 免密登录

ssh-keygen -t rsa -P ""

ssh-copy-id -i ~/.ssh/id_rsa.pub root@服务器地址

原文地址:https://www.cnblogs.com/zyh1994/p/10041292.html