class Net::SSH::Proxy::HTTP

An implementation of an HTTP proxy. To use it, instantiate it, then pass the instantiated object via the :proxy key to Net::SSH.start:

require 'net/ssh/proxy/http'

proxy = Net::SSH::Proxy::HTTP.new('proxy_host', proxy_port)
Net::SSH.start('host', 'user', :proxy => proxy) do |ssh|
  ...
end

If the proxy requires authentication, you can pass :user and :password to the proxy’s constructor:

proxy = Net::SSH::Proxy::HTTP.new('proxy_host', proxy_port,
   :user => "user", :password => "password")

Note that HTTP digest authentication is not supported; Basic only at this point.