Allan,
I solved the problem. In my Mac-side SSH configuration (OS X 10.8.4), I had
AddressFamily inet
listed in my .ssh/config. This limits ssh connections to using IPv4. If I disable that, then it works fine. For some reason the change to allowing IPv6 in TextMate in conjunction with the above openssh option fails. Disabling the AddressFamily line makes it work.
Related, I had "disabled" IPv6 on my Mac networking by setting it to "local link-only". It still works with that, but I get an error message on the server side from rmate:
setsockopt TCP_NODELAY: Invalid argument
This error goes away by changing IPv6 to "Automatic" in the Mac network settings.
So, it appears that the change to allowing for IPv6 actually requires it to be present.
Cheers, Brian
TextMate did switch to using IPv6 API instead of IPv4, but for me the above works w/o issues, I tried with TextMate listening for both local and remote clients, tried setting up tunnel via command line and ~/.ssh/config, all cases for me was a success.
This is on OS X 10.8.4 using OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012 (the one in /usr/bin) and network has an IPv4 IP (obtained via DHCP) but no IPv6 IP (config set to ?automitcally? which gives me no values for the IPv6 things in network settings).
Any mismatch in environment?