diff options
| author | Miklós Fazekas <mfazekas@szemafor.com> | 2016-03-19 16:05:58 +0100 |
|---|---|---|
| committer | Miklós Fazekas <mfazekas@szemafor.com> | 2016-03-19 16:05:58 +0100 |
| commit | 4f5aaa61b8ab0b94b1654e6889d94491841b545d (patch) | |
| tree | 5ffd9d9c2cdacbaaedc8e76bdd786e7146b80607 | |
| parent | 3f16ab0b0e66e39ffa83fbf07a9f44b4df8279e5 (diff) | |
| parent | 37ca1bb3e2c2a4ee7de6dc62071959fb14ee1e76 (diff) | |
| download | net-ssh-4f5aaa61b8ab0b94b1654e6889d94491841b545d.tar.gz | |
Merge pull request #279 from svacko/modify-proxy-usage-example
Modify proxy usage example
| -rw-r--r-- | lib/net/ssh/proxy/http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/ssh/proxy/http.rb b/lib/net/ssh/proxy/http.rb index 8ba7b42..27c99d5 100644 --- a/lib/net/ssh/proxy/http.rb +++ b/lib/net/ssh/proxy/http.rb @@ -8,7 +8,7 @@ module Net; module SSH; module Proxy # # require 'net/ssh/proxy/http' # - # proxy = Net::SSH::Proxy::HTTP.new('proxy.host', proxy_port) + # proxy = Net::SSH::Proxy::HTTP.new('proxy_host', proxy_port) # Net::SSH.start('host', 'user', :proxy => proxy) do |ssh| # ... # end @@ -16,7 +16,7 @@ module Net; module SSH; module Proxy # 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, + # 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 |
