Bug 885

Summary: List of preferred address families ?
Product: Portable OpenSSH Reporter: Vladimir Kotal <vlada>
Component: MiscellaneousAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P2    
Version: 3.8p1   
Hardware: All   
OS: All   

Description Vladimir Kotal 2004-06-24 07:39:33 AEST
Would it be possible to add list of preferred address families to ssh_config ?
Command line options -4 and -6 do not suffice for all purposes.

something like:

Host myhost1
  Hostname dualstack.bignetwork.net
  PreferredAF ipv4,ipv6
Comment 1 Ben Lindstrom 2004-06-24 09:18:20 AEST
We already have "AddressFamily" in ssh_config.
Comment 2 Darren Tucker 2004-06-24 11:02:12 AEST
... and it's been there since 3.7.

$ man ssh_config
[...]
AddressFamily
    Specifies which address family to use when connecting.  Valid
    arguments are ``any'', ``inet'' (Use IPv4 only) or ``inet6'' (Use
    IPv6 only.)