Launchpad has imported 1 comments from the remote bug at https://bugzilla.mindrot.org/show_bug.cgi?id=2029.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-07-30T15:58:52+00:00 Sklist wrote: I have a dual IPv4/6 server which has both A and AAAA records published for it's primary domain name. I had just rebooted the server for a kernel update and was trying to ssh back in. It failed with a "network unreachable" error which was totally misleading. The issue was that the server was slow to come up and was not listening on port 22 yet. The error message should have been "connection refused". During the period when I was waiting, if I used ssh directly to the IPv4 address, I (correctly) got "connection refused". When I ssh'd to the IPv6 address I (also correctly) got network unreachable since there is no IPv6 connectivity other than link-local on the network the ssh client was connecting from. it looks like what ssh is doing in the case of a host with dual A/AAAA records is looking them both up, trying both connections, and if the case of both failing, it's returning the IPv6 error message. In this case it was quite confusing as there's no indication it's an IPv6 connection the message is about. I was trying to figure out how I could ping the server and at the same time have the network be unreachable. It would be better if, in the case of two errors, network unreachable is only handed back to the user if no other error (such as connection refused) does not indicate that the network was reachable and a connection to the remote server made at some level. Reply at: https://bugs.launchpad.net/openssh/+bug/1028182/comments/2 ** Changed in: openssh Status: Unknown => Confirmed ** Changed in: openssh Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1028182 Title: ssh connection failure error message confusing when talking to dual IPv4/6 host To manage notifications about this bug go to: https://bugs.launchpad.net/openssh/+bug/1028182/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs