On Sat, 15 Jul 2023, tomas@tuxteam.de wrote:
> @Roger: what does "sudo ss -antp" (or "netstat -antp") say? Is sshd
> listening on 0.0.0.0:22? Then it's firewall, otherwise (not very
> probable,but hey) it's sshd config.
Here is netstat -antp on one of the Debian 9 machines where I am currently
logged in locally as root via ssh.
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 521/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4578/cupsd
tcp 0 0 127.0.0.1:22 127.0.0.1:50124 ESTABLISHED 2905/sshd: root@pts
tcp 0 0 127.0.0.1:50124 127.0.0.1:22 ESTABLISHED 2903/ssh
Roger
Do you have TCP wrappers installed and running? Please post the output of: `less /etc/hosts.allow` `less /etc/hosts.deny`
--