生成SSH** ssh-****** -t rsa 拷贝生成的** cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys 测试ssh是否成功 ssh localhost 出现last login就可以 相关文章: