SSH密钥登录 SSH密钥登录,不使用密码 1. 创建公钥和私钥 ssh-keygen -t rsa 2. copy ssh-copy-id -i ~/.ssh/id_rsa.pub root@192.168.1.2