SSH Tunnel in OS X
Open tunnel:
$ ssh -L 8080:remote-host:80 -f -C -q -N me@myserver.com
Close tunnel:
$ ps -aux | grep ssh
$ kill {pid}
A coder’s daily explorations through PHP, Java, CSS, JavaScript, Linux, OS X, Apache, Tomcat, and everything else.
{ Category Archives }
Open tunnel:
$ ssh -L 8080:remote-host:80 -f -C -q -N me@myserver.com
Close tunnel:
$ ps -aux | grep ssh
$ kill {pid}