Tuesday, December 28, 2010

ssh to IPv6 or IPv4

When typing ssh at the command line, it seems to sometimes do ipv4 and sometimes ipv6.

However if you really want either ipv4 or you want ipv6 you can specify on the command line which you want:

ssh -6 <ipv6 only host>
ssh -4 <ipv4 only host>

No comments:

Post a Comment