修改/etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
修改完成后重新启动SSHD服务
service sshd restart
本文介绍如何通过编辑/etc/ssh/sshd_config文件来配置SSH服务。主要内容包括允许root登录及开启密码认证,并介绍了完成配置后重启SSHD服务的方法。
修改/etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
修改完成后重新启动SSHD服务
service sshd restart
1万+

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