If you ever need to control a machine through SSH, but the machine is behind a firewall or doesn't have a static IP you can do a reverse SSH.

For instance if at your home you want to login to your work machine, you do the following:
1) at your work machine you type:
ssh -R 2048:localhost:22 homecomputer

2) from you home computer you type:
ssh -p 2048 localhost

and voila, you are in...

Needless to say you need ssh server on both machines.
--
Al-Faisal El-Dajani
Tel: +962-7-77 799 781
URL: http://www.linuxhome.trickip.net
P.O Box: 140056
11814 Amman, Jordan

May the source be with you
_______________________________________________
General mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/general_jolug.org

Reply via email to