ssh的免密码登陆

1.ssh-keygen -t rsa
2.cd ~/.ssh
3.cat id_rsa.pub>>authorized_keys
4.ssh localhost

0

Leave a Reply

Your email address will not be published.