Add this to ~/.ssh/config
Host internethost.com
ProxyCommand ssh -a -x sshrelay.com "nc internethost.com 22"
Where sshrelay.com is a ssh machine with better internet access to the remote host and internethost.com is the final destination. Now I just have to type 'ssh internethost.com' to get all the way through to the final machine. I can now forward X sessions, use scp, use FreeNX, with an easy configuration.
No comments:
Post a Comment