Just a tip to those people who might be trying to use a separate
username/password to access their proxy server than their destination
server(s).  In my case I was trying to access servers located behind
an HTTP proxy server.

- First you need to have "require 'net/ssh/proxy/http'" in your
capistrano recipe
- Next you set up your proxy something like this "proxy =
Net::SSH::Proxy::HTTP.new( proxy_host, proxy_port, :user =>
proxy_user, :password => proxy_password )" (
- Finally, you let the capistrano SSH know about it
"ssh_options[:proxy] = proxy"

I imagine this would work with SOCKS4 and SOCKS5 proxies as well since
Ruby has classes for them.

Sorry if this is an already well known fact or posted in the wrong
place, but I couldn't find anything about it online and wanted to
share it with other people who might be trying to get through their
proxy servers.

Cheers,

Paul
--~--~---------~--~----~------------~-------~--~----~
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