[root@centos-512mb-nyc3-01 ~]# vi /etc/ssh/sshd_config

RSAAuthentication yes

PubkeyAuthentication yes 

AuthorsizedKeysFile .ssh/authorized_keys

PasswordAuthentication yes 


[root@centos-512mb-nyc3-01 ~]# service sshd restart

Logo

更多推荐