ssh localhost免登陆

#必须要先赋权,在此特别提醒
ssh-keygen -t rsa -P ''
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 644 authorized_keys  

 

posted @ 2015-09-21 01:30  _Spy  阅读(74)  评论(0)    收藏  举报