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

10 commits

Author SHA1 Message Date
Edward Muller
f1a64268b5 Add ssh_port to Fog::Compute::Server
This is for when a server may not be listening for ssh on port 22
2012-06-21 15:05:26 -07:00
Dan Peterson
851e838d46 Merge pull request #926 from freeformz/ssh_block
ssh/run optionally takes a block
2012-05-23 15:55:46 -07:00
Dan Peterson
9aa05bb5fb Merge pull request #925 from freeformz/sshable
Fog::Compute::Server#sshable?
2012-05-23 15:47:22 -07:00
Edward Muller
2954b19b12 Cleanup after talking to @dpiddy 2012-05-23 15:46:14 -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
Edward Muller
581e2ed94d Fog::Compute::Server#sshable?
wait_for { ready? && sshable? }
...Do your automation...
2012-05-23 15:23:24 -07:00
Edward Muller
9f25fcd2e4 Fog::Compute::Server#private_key=
Useful for automation purposes where you have the private key
stored in a database and not on disk.
2012-05-23 15:18:16 -07:00
Christoph Schiessl
8ad8264d7a implement #scp_download method to allow downloads in addition to uploads via scp. alias #scp method as #scp_upload. 2011-12-09 15:40:06 +01:00
Nicholas Ricketts
2d4d3cc5b5 added linode ssh support 2011-10-05 17:33:49 -04:00
geemus
c2e29c0f9d [compute] add server base class to contain shared stuff (scp/ssh) 2011-08-11 11:54:29 -05:00