ssh-keygen 将会生成密钥文件和私钥文件 一直回车就好了。。。。。。 1 ssh-copy-id root@10.0.0.45 将免密生成的文件分发到要免密的服务器上 1 ssh root@10.0.0.45