1
0
Fork 0
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:
Stepan G Fedorov 2011-10-24 21:59:34 +04:00 committed by NomadRain
parent d20d42c615
commit 618f76e56b

View file

@ -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