Okay, I am not sure why the ipv6 socket is not accepting ipv4, because
AFAICT (and when I test on my machine) the way IPV6_V6ONLY is being set
in the default case, it should allow ipv4.

However, I do think there is a case to be made about the socket unit
being more aligned with the contents of /etc/ssh/sshd_config, and non-
socket activated sshd. E.g., with the default contents of
/etc/ssh/sshd_config, and *non-socket-activated* ssh, we will have two
separate listening addresses, [::]:22 and 0.0.0.0:22 (explicitly, not
via ipv6). We should do the same for socket-activated SSH by default.
And, while we are at it, we need to make sshd-socket-generator honor
AddressFamily.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080216

Title:
  sshd cannot bind to IPv4 interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2080216/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to