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
5507
26.11.2018 08:38
- Upgrading ram possible?
4979
05.06.2018 14:58
- Upgrade from Ubuntu 20.10 to Ubuntu 21.04
4630
02.01.2022 15:21
- Remote Desktop can't connect to the remote computer for one of these reasons
3962
14.03.2019 08:58
- No FreeBSD option while reinstalling VPS
3948
30.06.2021 08:58
- Debian 10 Buster Availability
3625
13.07.2019 12:27
- Softether OVH VPN
3408
11.08.2018 18:07
- Rocky Linux instead of centos stream
3301
28.04.2021 23:23
- Private VPN on VPS OVH?
3095
20.12.2019 19:52
- How to set up ip source "all" in IP firewall section
3047
12.03.2018 11:26