vi /etc/ssh/sshd_config
sudo su->root
sudo passwd
//-------------------------------------------
PasswordAuthentication yes
PermitRootLogin yes
/etc/init.d/ssh restart
文章讲述了如何使用vi编辑器修改/etc/ssh/sshd_config文件,启用密码认证并允许Root用户登录。然后,通过sudo切换到root权限,更新密码,并重启SSH服务以应用更改。
vi /etc/ssh/sshd_config
sudo su->root
sudo passwd
//-------------------------------------------
PasswordAuthentication yes
PermitRootLogin yes
/etc/init.d/ssh restart
3271
7301

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