It's funny how things come together. This is from a chat with a friend 2 days ago.

> so a reverse SSH is one where you connect initially with the "-R" option to bind the servers port 22 to the SSH stream.
> so from the server, any outgoing traffic on port 22 (ssh) gets executed as if it were on the client
> so you can run "ssh -R 2048:localhost:22 othercomputer.com" from the client
> and then tunnel back with "ssh -p 2048 localhost"
> or better yet tunnel back with "ssh -D 8001 -p 2048 localhost"
> the trick/point of it all is to create a tunnel out of a NAT'ed or firewalled network, and then create a tunnel back into from the more accessible computer

- Jason


On Oct 29, 2006, at 11:20 PM, mike wrote:

Thanks Jason. That's something I hadn't thought of. I think I would 

run into issues with NAT though when I'm on the road.


I'm going to see if I can add 'get' to capistrano. This has led me to Jamis's 

Net::SSH library which is really well documented and pretty exciting.



--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to