ssh with root impossible with v12

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
warnerkr
Posts: 1
Joined: 2024-12-29 14:11

ssh with root impossible with v12

#1 Post by warnerkr »

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?

lindi
Debian Developer
Debian Developer
Posts: 628
Joined: 2022-07-12 14:10
Has thanked: 2 times
Been thanked: 128 times

Re: ssh with root impossible with v12

#2 Post by lindi »

Please provide the command you ran and its full output.

CwF
Global Moderator
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

#3 Post by CwF »

warnerkr wrote: 2024-12-29 14:42 If I use an other user I can login.
Generally speaking, if that user is empowered with polkit/sudo/doas/su - it works the same remotely as does locally.
Mottainai

Post Reply