2009-02-16

Reverse SSH

Problem :
SSH server / PC in a close network unable to open port 22 or ssh port for public access


Solution :
1. do a reverse ssh to a accessible ssh server / pc.
e.g.
ssh -R 10222:localhost:22 username@remote-public-server


2. access the close-network-server using the remote-public-server.
e.g.
ssh close-network-server-username@localhost -p 10222


Voila !!!

No comments: