mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
B #: SSH options in onevm ssh not splitted (#1460)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
1 parent
2f8e33ed3d
commit
fc285cc9c9
1 file changed
+1
-1
@@ -715,7 +715,7 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
if opts.empty?
|
||||
exec(*%W[ssh #{login}@#{ip} -p #{port} #{cmd}])
|
||||
else
|
||||
exec(*%W[ssh #{opts} #{login}@#{ip} -p #{port} #{cmd}])
|
||||
exec('ssh', *opts.split, *%W[#{login}@#{ip} -p #{port} #{cmd}])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user