You might want to look at the net-ssh-gateway library to see how it
works. It runs the forwarded ports in a separate Net::SSH instance, in
a separate thread. Currently it only supports locally forwarded ports,
but perhaps it could be extended to work with remote forwarded ports
too?
- Jamis
> --~--~---------~--~----~------------~-------~--~----~
> To unsubscribe from this group, send email to capistrano-...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/capistrano
> -~----------~----~----~----~------~----~------~--~---
>