日期:2014-05-16 浏览次数:20635 次
ssh-keygen -t rsa
scp .ssh/id_rsa.pub hengwei@192.168.55.12:.ssh/id_rsa.pub
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys