1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

7 commits

Author SHA1 Message Date
David
7aa7939d3b Use Net::SSH's KeyManager to detect ssh-agent
The presence of ENV['SSH_AUTH_SOCK'] is necessary but not sufficient for
ssh-agent support (e.g. no agent may be listening on the socket; the
listening agent may be SSH2-compatible and hence currently unsupported)
so it is better to delegate this decision to Net::SSH.
2011-01-26 03:33:21 +08:00
Tom Stuart
4bfe1a27c7 Make :key_data, :keys and :password optional in Fog::SSH.new
Net::SSH 2.0 will automatically authenticate with ssh-agent if it's
running, so a key or password is only required if ENV['SSH_AUTH_SOCK']
is not set.

See https://github.com/net-ssh/net-ssh/blob/v2.0.0/lib/net/ssh/authentication/key_manager.rb#L20-23
2011-01-25 03:14:46 +08:00
geemus
6ee69750f6 [aws|compute] better ssh handling for bootstrap
Closes #68
2010-12-02 13:37:03 -08:00
geemus
a975a6ef79 push most dependencies out toward leaves to lessen initial load requirements 2010-10-29 14:58:28 -07:00
geemus
8aec42583e remove weird sudo related ssh stuff and don't memoize ssh connection 2010-10-20 16:22:31 -07:00
Athir Nuaimi
6c929091bc cleaned up some warnings & fixed problem building gem because of missing files 2010-10-14 01:47:56 +08:00
geemus
dfd30e521f cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
Renamed from lib/fog/ssh.rb (Browse further)