Kyle Rames
7b05faf596
added 30 second timeout for SSH and SCP connect
2013-02-04 15:10:06 -06:00
Marc Seeger
a443fe5d51
Fix ssh key behavior when passing specified private keys to ssh/scp
2012-07-10 15:20:06 +02:00
Edward Muller
741bb1f1bb
Revert "Add debug option to Fog::Compute::Server#ssh"
...
This reverts commit 1cf33ccc7a
.
Conflicts:
lib/fog/core/ssh.rb
2012-05-24 11:39:16 -07:00
Edward Muller
c6c288bb04
return '' not nil
2012-05-23 15:54:35 -07:00
Edward Muller
eb1763d61e
ssh/run optionally takes a block
...
and yields [STDOUT, STDERR]
Useful if you need real-timeish output
2012-05-23 15:28:02 -07:00
Jason Hansen & Josh Lane
9b4260d02e
implement Fog::SSH::Mock#run
2012-05-09 14:32:36 -07:00
Edward Muller
28c1d90d63
some small fixups
2012-04-20 10:41:39 -07:00
Gabriel Horner
1cf33ccc7a
Add debug option to Fog::Compute::Server#ssh
...
keeps display logic in Fog::SSH::Result
2012-04-20 10:44:26 -04:00
Rupak Ganguly
9d1e801d92
Add new HP providers for Object Storage, Compute and CDN services.
2012-04-16 15:48:41 -04:00
Pieter van de Bruggen
bbc03a4da3
Command escaping is both incorrect and unnecessary.
...
The escaping behavior is incorrect in that it only escapes the first apostrophe, which is only made necessary because commands are execute through `bash`. Since `bash` is not guaranteed to be installed (sad, but true), and since this represents unexpected behavior, I've pared this down to the simplest thing that could possibly work.
2011-04-02 14:08:21 -07:00
geemus
40cd1ff5e4
fixes for reset_data
...
instance method now, instead of class method
resets data related to current connection/credentials
2011-03-10 11:16:55 -08:00
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