[Bug 1685] New: ssh attempts v4 connection w/v6 BindAddress setting in ssh config
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Dec 15 02:26:39 EST 2009
https://bugzilla.mindrot.org/show_bug.cgi?id=1685
Summary: ssh attempts v4 connection w/v6 BindAddress setting in
ssh config
Product: Portable OpenSSH
Version: 5.3p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Miscellaneous
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: lippard-mindrot at discord.org
The following error occurs (from sshconnect) in my mixed IPv6/v4
environment when ssh'ing from one machine to another (IP addresses have
been obfuscated)
ssh -vv openapple
OpenSSH_5.3, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /home/lippard/.ssh/config
debug1: Applying options for openapple
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to openapple [10.22.5.50] port 2222.
getaddrinfo: 2001:470:d:19a:d0::100: no address associated with name
debug1: Connecting to openapple [2001:470:d:19a:d5::50] port 2222.
The getaddrinfo error occurs because I have an ssh config which sets
the BindAddress to 2001:470:d:19a:d0::100 when I ssh to host
openapple. openapple has a DNS A record of 10.22.5.50 and an AAAA
record of 2001:470:d:19a:d5::50 (both of which have appropriate rDNS).
Looks like ssh is failing to recognize that my BindAddress is an IPv6
address rather than a DNS name, despite the fact that ":" is not a
valid character in DNS names. Given my BindAddress setting, it should
not be attempting an IPv4 connection in the first place.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list