summaryrefslogtreecommitdiff
path: root/lib/leap_cli/ssh/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/ssh/options.rb')
-rw-r--r--lib/leap_cli/ssh/options.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/leap_cli/ssh/options.rb b/lib/leap_cli/ssh/options.rb
index b8266d11..7bc06564 100644
--- a/lib/leap_cli/ssh/options.rb
+++ b/lib/leap_cli/ssh/options.rb
@@ -46,6 +46,9 @@ module LeapCli
if args[:auth_methods]
ssh_options[:auth_methods] = args[:auth_methods]
end
+ if args[:user]
+ ssh_options[:user] = args[:user]
+ end
return ssh_options
end