I have a few servers where I need to goto with sftp (wsftp), so ssh. With Debian 11 that works if you enable it in sshd_config.
I did the same in Debian12 but then I get the message "connection refused". If I use an other user I can login.
But I need to login as root as I need to upload files in non-user accessible area's.
I compared the two config files and they are alomost the same, only 1 line is different about challenge-response passwords, the keyname is different.
They both are no.
Can anyone shed some light on this?
ssh with root impossible with v12
-
- Global Moderator
- Posts: 3243
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 69 times
- Been thanked: 287 times
Re: ssh with root impossible with v12
Generally speaking, if that user is empowered with polkit/sudo/doas/su - it works the same remotely as does locally.
Mottainai