[Bug 1687482] Re: -4 flag doesn't work
Colin Watson
cjwatson at canonical.com
Tue May 2 23:01:52 UTC 2017
I'd suggest using "ssh -v" rather than relying on the "Last login:"
output. For instance:
$ ssh -v -Snone riva : 2>&1 | grep 'Connecting to'
debug1: Connecting to riva.pelham.vpn.ucam.org [2001:8b0:bff2:eb14:6a05:caff:fe12:71bf] port 22.
$ ssh -4v -Snone riva : 2>&1 | grep 'Connecting to'
debug1: Connecting to riva.pelham.vpn.ucam.org [172.20.153.17] port 22.
The client in this case is on xenial, so I know that "ssh -4" is not
fundamentally broken on xenial. You might also like to check that
there's nothing relevant in your ~/.ssh/config that might be overriding
the normal logic.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1687482
Title:
-4 flag doesn't work
Status in openssh package in Ubuntu:
Incomplete
Bug description:
Whenever I use the -4 flag on ssh, it still uses the ipv6 address from
dns instead of forcing ipv4 like it says it is supposed to do in the
man page.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1687482/+subscriptions
More information about the foundations-bugs
mailing list