There is no option neither in /etc/ssh/config nor $HOME/.ssh/config to use IPv6 by default while connecting to remote hosts.
Created attachment 303 [details] Adds AddressFamily option to client
Patch applied.
When using this feature with a ~/.ssh/config file of: host test addressfamily inet host * addressfamily any host test has both an A and an AAAA record in DNS, but the v6 connection is down. This is why I'd like to force the inet addressfamily. It seems that the host * entry wins. When looking at the source, it seems like addressfamily is global, rather than per host. This is inconsistent with the other options, no? As a workaround, using bindaddress works as expected, and is per-host (in the Options structure)
Please attach a debug "ssh -v -v -v" trace
Created attachment 342 [details] output of ssh -vvv This is the requested output. Sorry it took so long, as I should have really created a new bug. I didn't get any email notification and just recently came back to look at it. If it's all right with you (ie. nobody else is compaining about this) I wouldn't mind having a couple days to fix it myself?
I sent a patch to tech@openbsd.org and am waiting for input... it's at http://graveland.net/openbsd/openssh-addressfamily.patch
fix applied - thanks
works for me :) Thanks - hope I wasn't a pest