diff options
author | Miklós Fazekas <mfazekas@szemafor.com> | 2021-08-07 07:34:26 +0200 |
---|---|---|
committer | Miklós Fazekas <mfazekas@szemafor.com> | 2021-08-07 08:02:46 +0200 |
commit | acd186e080749e36badf63c99758da47477f2aae (patch) | |
tree | e2bfea141650d19f8a4792be0dec4e130e410bb5 /lib/net/ssh/proxy | |
parent | ba3a689713a4635c16eb9a35c5c62be34be60e8b (diff) | |
download | net-ssh-acd186e080749e36badf63c99758da47477f2aae.tar.gz |
Support frozen_string_literalsmfazekas/frozen-literal
Diffstat (limited to 'lib/net/ssh/proxy')
-rw-r--r-- | lib/net/ssh/proxy/jump.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/proxy/jump.rb b/lib/net/ssh/proxy/jump.rb index 0630bd8..a5de7d9 100644 --- a/lib/net/ssh/proxy/jump.rb +++ b/lib/net/ssh/proxy/jump.rb @@ -38,7 +38,7 @@ module Net config = connection_options && connection_options[:config] uri = URI.parse("ssh://#{first_jump}") - template = "ssh" + template = "ssh".dup template << " -l #{uri.user}" if uri.user template << " -p #{uri.port}" if uri.port template << " -J #{extra_jumps}" if extra_jumps |