summaryrefslogtreecommitdiff
path: root/lib/net/ssh/proxy
diff options
context:
space:
mode:
authorStanislav Bocinec <stanislav.bocinec@innovatrics.com>2015-11-03 16:10:02 +0100
committerStanislav Bocinec <stanislav.bocinec@innovatrics.com>2015-11-03 16:10:02 +0100
commit37ca1bb3e2c2a4ee7de6dc62071959fb14ee1e76 (patch)
treeb38a8f2d1fc4706c4a860486710ae8ecbdf5d139 /lib/net/ssh/proxy
parenta15a18d45ba901415992f0173b65bcfabf22227c (diff)
downloadnet-ssh-37ca1bb3e2c2a4ee7de6dc62071959fb14ee1e76.tar.gz
Modify proxy usage example
Diffstat (limited to 'lib/net/ssh/proxy')
-rw-r--r--lib/net/ssh/proxy/http.rb4
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