Personal tools
You are here: Home Plone XP Open Source Software Review Mastering SSH

Mastering SSH

— filed under: ,

SSH is a powerful tool,

SSH Tunneling

binding remote machine's SSH port to local machine

$ ssh -f user@remote-host -L local-host:6000:remote-host1:22 -N

Then you could access remost-host1 by using following command:

$ ssh -p 6000 user@local-host
$ scp -P 6000 user@local-host:/some/file . 

You may already notice that the port option is different for ssh and scp.

Resources and tutorials for SSH tunnel:


SSH and Remote Command

SSH can easily execute command in remote host.


$ ssh user@remote-host ls -la

$ ssh user@remote-host "mkdir test; cd test"

SSH Connection with RSA key

  • generate the keys on local machine by using ssh-keygen.
  • append the public key to authorized_keys on Server machine's .ssh folder
  • enable the RSA... on server's /etc/sshd_config file.

Privoxy: NON-Caching Web Proxy


Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk. Privoxy has a flexible configuration and can be customized to suit individual needs and tastes. It has application for both stand-alone systems and multi-user networks.

SSH Tunnel Service

PageKite is an OpenSource dynamic, tunneled reverse proxy.

Reverse SSH Tunneling.

SSH through HTTP proxy

defaut proxy port is 3128

SSH through HTTP proxy

Some useful tips about SSH SSH tips and tricks. It talks about how to keep your connection alive.

Document Actions