tunnel

Permanent SSH Tunnel Between Linux Servers

(via www.brandonchecketts.com)

I recently had a need to create a permanent SSH tunnel between Linux servers. My need was to allow regular non-encrypted MySQL connections over an encrypted tunnel, but there could be many other uses as well. Google can identify plenty of resources regarding the fundamental SSH commands for port forwarding but I didn’t ever find a good resource for setting up a connection and ensuring that it remains active, which is what I hope to provide here...

Secure browsing with SSH Tunnel and SOCKS Proxy Forwarding

(via embraceubuntu.com)

$ ssh -D 9999 username@ip-address-of-ssh-server

This will create a SOCKS proxy on port “9999″ of your computer (localhost). This is a secure tunnel to the server. Now all you have to do is set the preference in Firefox to use a SOCKS proxy. The proxy is, “localhost”, with the port 9999.

Comment