Hello! I have a Debian bullseye virtual machine. I read in OVS manuals that allowing ssh login as root is non-secure, so I decided to turn it off in /etc/ssh/sshd_config by commenting the line `PermitRootLogin yes`. After that I rebooted the server and I couldn't login with absolutely any user via ssh, not only with root. It asked for password and then always answered "Permission denied". Why does this setting affects other users than root?
VPS-old - Turning off PermitRootLogin in sshd prevents any user to connect
Related questions
- Reinstall VPS from my own ISO Image
5672
26.11.2018 08:38
- Upgrading ram possible?
5189
05.06.2018 14:58
- Upgrade from Ubuntu 20.10 to Ubuntu 21.04
4842
02.01.2022 15:21
- Remote Desktop can't connect to the remote computer for one of these reasons
4119
14.03.2019 08:58
- No FreeBSD option while reinstalling VPS
4119
30.06.2021 08:58
- Debian 10 Buster Availability
3750
13.07.2019 12:27
- Softether OVH VPN
3533
11.08.2018 18:07
- Rocky Linux instead of centos stream
3428
28.04.2021 23:23
- Private VPN on VPS OVH?
3188
20.12.2019 19:52
- How to set up ip source "all" in IP firewall section
3116
12.03.2018 11:26