设置服务器免密登录1. Client本地生成密钥对ssh-keygen -t rsa
2. 将Client服务器的公钥证书id_rsa.pub复制到Server服务器的.ssh子目录中scp -p ~/.ssh/id_rsa.pub
2021-03-08