fog/fog — pull request #861 by cldwalker (2012-04-18 21:29:15+00:00)
Title: Add flush option which is available to Fog::Compute::Server#ssh

We needed more visibility into our ssh commands for long-running ssh sessions when provisioning chef nodes. I tried to make the most minimal optional change that would allow this. This allows a user to see stdout and stderr in the middle of the command instead of at the end:

```ruby
server = Fog::Compute::Server.new
server.ssh 'long_running_command', :flush => true
```

I chose :flush since :verbose is already being used by [Net::SSH.start](http://rdoc.info/gems/net-ssh/Net/SSH.start), which Net::SSH::Real passes its options to.

I'm open to adding tests (though I didn't see any related ones in tests/core) and a different option name. Would love to get this in so we don't have to rely on monkeypatching Fog :(. Feedback?