Current config (reboot was also done):
root@ubi:~# grep Port /etc/ssh/sshd_config
Port 30000
root@ubi:~#
root@ubi:~# grep ListenAddress /etc/ssh/sshd_config
ListenAddress 0.0.0.0
root@ubi:~#
root@ubi:~# netstat -tulpn|grep 30000
tcp6 0 0 :::30000 :::* LISTEN 1/init
root@ubi:~#
root@ubi:~# ss -tulpn|grep 30000
tcp LISTEN 0 4096 *:30000 *:* users:(("sshd",pid=38048,fd=3),("systemd",pid=1,fd=251))
root@ubi:~#
root@ubi:~# grep PRETTY_NAME= /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
root@ubi:~#
Question: Is this a bug? I set sshd to listen on only IPv4, why is it listening on IPv6?
Asked by peterK88
(117 rep)
Oct 16, 2024, 10:34 AM
Last activity: May 2, 2025, 09:27 PM
Last activity: May 2, 2025, 09:27 PM