赞
踩
ssh-keygen -t rsa #输入之后按三下回车就可以了
Your public key has been saved in /root/.ssh/id_rsa.pub #公钥的存放位置
ssh-copy-id node01
scp /root/.ssh/authorized_keys node02:/root/.ssh
scp /root/.ssh/authorized_keys node02:/root/.ssh
ssh node01
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。