[Bug 281882] Re: ssh hangs in initial handshaking when using IPv6

Jonathan Marsden jmarsden at fastmail.fm
Tue Mar 24 18:26:09 GMT 2009


I am unable to duplicate this issue on my local 
Ubuntu Intrepid 8.10 (x64) desktop, even before
making any of the changes suggested in this message.

For those who are affected by this:

  ssh -4 somehost

will use IPv4 only to connect, which would appear to 
be a viable workaround.

To make IPv4 only a global default for the client,
edit /etc/ssh/ssh_config and add a line

  AddressFamily inet

to the end of the default file (i.e., in the entry for "Host *).

At the server end of things, one can configure sshd to
use IPv4 only by adding a line

ListenAddress 0.0.0.0

to /etc/ssh/sshd_config and restarting sshd.

-- 
ssh hangs in initial handshaking when using IPv6
https://bugs.launchpad.net/bugs/281882
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.



More information about the Ubuntu-server-bugs mailing list