diff options
author | John Hood <cgull@glup.org> | 2016-06-10 11:58:29 -0400 |
---|---|---|
committer | John Hood <cgull@glup.org> | 2016-07-10 23:30:24 -0400 |
commit | af8ddd090e8a702063791ab3965a53b4f9818906 (patch) | |
tree | 1cd746eb05ac68553d82ad39c90bf1f51e551a13 /man | |
parent | 1b2ddc2e81b3b0b29a26d8821bcabf96043eb11c (diff) |
Add options to prefer v4 or v6 on connect; make prefer-inet the default.
Resolves #764, mostly.
Diffstat (limited to 'man')
-rw-r--r-- | man/mosh.1 | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -143,23 +143,32 @@ Only use IPv4 for the SSH connection and Mosh session. .TP .B \-\-family=inet6 Only use IPv6 for the SSH connection and Mosh session. This and the -following two dual-stack modes require Perl's IO::Socket::IP or -IO::Socket::INET6 modules. +following modes require Perl's IO::Socket::IP or IO::Socket::INET6 +modules. + +.TP +.B \-\-family=auto +Autodetect IPv4 or IPv6 for hosts that only have addresses +in a single family. Hosts with both IPv4 and IPv6 addresses will +raise an error, and require re-invocation of \fBmosh\fP with another +\fB\-\-family\fP option. .TP .B \-\-family=all Choose an address from all available IPv4 or IPv6 address, even for dual-stack hosts. This is the most convenient option, but requires -dual-stack connectivity when roaming with dual-stack servers. This is -the default. +dual-stack connectivity, and Mosh 1.2.5 or later on the server, when +roaming with dual-stack servers. .TP -.B \-\-family=auto -Autodetect IPv4 or IPv6 for hosts that only have addresses -in a single family. Hosts with both IPv4 and IPv6 addresses will -raise an error, and require re-invocation of \fBmosh\fP with another -.B \-\-family -option. +.B \-\-family=prefer-inet +Similar to \fB\-\-family=all\fP, but attempt connects to the IPv4 +addresses first. This is the default. + +.TP +.B \-\-family=prefer-inet6 +Similar to \fB\-\-family=all\fP, but attempt connects to the IPv6 +addresses first. .TP .B \-4 |