Secure Shell or SSH is a secure means of controlling a remote machine.
Contents
Closing a Hung Session
Type enter, tilde (~), period, enter to exit a hung SSH session.
Tunneling
You can tunnel single ports or run a socks proxy with SSH. Google for SSH forwarding or see the howto below.