Updated May 26, 2005
Created May 26, 2005


Autogenerated Site Map
Search this Site!:
Search this site powered by FreeFind
Using a common ssh server to give ssh access behind a firewall:

The one offering service runs the following command:

(ssh)
ssh -R 2222:localhost:22 -f -N user@commonsshserver.mydomain.com
(ssh and web)
ssh -R 2222:localhost:22 -R 8888:localhost:80 -f -N user@commonsshserver.mydomain.com


Don't forget to share the password needed for access.


The one gaining access runs the following command:

ssh -L 2222:localhost:2222 -f -N user@commonsshserver.mydomain.com

http://localhost:8888

Now a pathway exists from this local workstation to the remote workstation through the common ssh server. Access is gained from this workstation to the remote workstation as follows:

ssh user@dlocalhost -p 2222

Gaining web access on remote workstation:

ssh -L 8888:localhost:80 root@localhost -p 2222

Search this Site!:
Search this site powered by FreeFind

Homepage: http://www.cpqlinux.com
Site Map: http://www.cpqlinux.com/sitemap.html