[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unable to ssh to Debian 9 from 9 or 11



On Sun, Jul 16, 2023 at 2:27 AM Roger Price <debian@rogerprice.org> wrote:
>
> On Sun, 16 Jul 2023, Intense Red wrote:
>
> >   Are you trying to ssh into the box as the root user?
>
> I do not ssh into remote boxes as root; I use ssh to root only within the box.
>
> > If so, remember Debian's ssh configuration stops root from logging in.
>
> In my Debian 9 and 11 boxes I see in /etc/ssh/sshd_config "PermitRootLogin yes"
> by default, and by default local and remote root login is possible.

$ cat /etc/ssh/sshd_config.d/20-no_root_login.conf
PermitRootLogin no

Also see https://wiki.debian.org/SSH .

Jeff


Reply to: