mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[clodo|compute] server.ssh with password. Not only with key.
This commit is contained in:
parent
d20d42c615
commit
618f76e56b
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ module Fog
|
|||
|
||||
options = {}
|
||||
options[:key_data] = [private_key] if private_key
|
||||
options[:password] = password if password
|
||||
Fog::SSH.new(public_ip_address, username, options).run(commands)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue