[Bug 1742] sshconnect should use port returned by getaddrinfo

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 25 10:22:54 EST 2013


--- Comment #13 from Damien Miller <djm at mindrot.org> ---
Thinking about this a little more, this patch would break hosts where
"ssh" isn't in /etc/services. There are probably a few of these out
there, since people like to run OpenSSH on all sorts of old things.

How about we do the getservbyname lookup but only set port (to 22) if
it fails? This would preserve the current working behaviour but let SRV
records work too.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list