diff options
| author | Florian Wininger <florian@cyberwatch.fr> | 2021-07-01 22:27:11 +0200 |
|---|---|---|
| committer | Florian Wininger <florian@cyberwatch.fr> | 2021-07-01 22:27:11 +0200 |
| commit | da80a1f606f6985ed579126c22682ed0ce044c21 (patch) | |
| tree | 0084b6bcc50c0542abc9c0e9fb33937d52880f22 /support | |
| parent | a20286be502eaf8e44309ecffe0cc5b9e0e9ee88 (diff) | |
| download | net-ssh-da80a1f606f6985ed579126c22682ed0ce044c21.tar.gz | |
Remove Trailing white space
Diffstat (limited to 'support')
| -rwxr-xr-x | support/ssh_tunnel_bug.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/ssh_tunnel_bug.rb b/support/ssh_tunnel_bug.rb index d5fa09d..3f8f0ba 100755 --- a/support/ssh_tunnel_bug.rb +++ b/support/ssh_tunnel_bug.rb @@ -15,12 +15,12 @@ # visible_hostname netsshtest # * Start squid squid -N -d 1 -D # * Run this script -# * Configure browser proxy to use localhost with LOCAL_PORT. +# * Configure browser proxy to use localhost with LOCAL_PORT. # * Load any page, wait for it to load fully. If the page loads # correctly, move on. If not, something needs to be corrected. # * Refresh the page several times. This should cause this # script to failed with the error: "closed stream". You may -# need to try a few times. +# need to try a few times. # require 'highline/import' @@ -37,7 +37,7 @@ pass = ask("Password: ") { |q| q.echo = "*" } puts "Configure your browser proxy to localhost:#{LOCAL_PORT}" begin - session = Net::SSH.start(host, user, password: pass) + session = Net::SSH.start(host, user, password: pass) session.forward.local(LOCAL_PORT, host, PROXY_PORT) session.loop {true} rescue StandardError => e |
