能干冷风

文章
6
资源
0
加入时间
3年2月3天

linux ssh root 拒绝登陆

1. 普通用户登录编辑ssh配置文件1.1备份配置文件$ sudo cp sshd_config sshd_config.backup1.2编辑ssh配置文件$ sudo vim.tiny /etc/ssh/sshd_config增加2个配置PasswordAuthentication yesPermitRootLogin yes2.设置root密码$