vim /etc/ssh/sshd_config
配置文件中:
PermitRootLogin yes #默认为no,需要开启root用户访问改为yes
PasswordAuthentication yes #默认为no,改为yes开启密码登陆
sudo systemctl starts ssh
已经这么修改了,为什么还是无法使用密码登录
vim /etc/ssh/sshd_config
配置文件中:
PermitRootLogin yes #默认为no,需要开启root用户访问改为yes
PasswordAuthentication yes #默认为no,改为yes开启密码登陆
sudo systemctl starts ssh
已经这么修改了,为什么还是无法使用密码登录
评论 (0)