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

16 commits

Author SHA1 Message Date
Trae Robrock
a16ccb3c3d Adding exception from net-ssh 2.6 that occurs during bootstrap as sshd is just starting up 2013-07-27 13:55:53 -07:00
Jonas Pfenniger
f6ac4d9f6d Fixes issue where Net::SSH would only use the "password" authentication method
I've already seen that in Capistrano. Not sure exactly where the heuristics in
Net::SSH is failing but this should be fairly save.
2013-07-26 16:11:19 +01:00
Jonas Pfenniger
c6a354f648 Allow to configure server#scp and server#ssh on the instance level.
```
server.ssh_options = {user: 'root'}
server.scp('/etc/passwd', 'bar')
server.ssh('ls -la')
```
2013-07-26 16:11:12 +01:00
David Calavera
2ab2111a2e Stop hardcoding the server ssh port. 2013-03-12 16:50:17 +01:00
Anshul Khandelwal
7c7b308b38 sshable should take the same options as ssh 2013-03-06 22:01:16 +05:30
Carlos Sanchez
a25691ed23 Move ssh private_key, public_key, username to Server model to reduce duplication 2012-10-31 12:31:49 +01:00
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