[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
本文介绍如何配置SSH服务,包括启用RSA认证、公钥认证及密码认证,并重启SSH服务使设置生效。
[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
1906

被折叠的 条评论
为什么被折叠?