boto/boto — pull request #2589 by alexras (2014-09-04 23:07:05+00:00)
Title: Miscellaneous improvements/fixes to cmdshell

* Allow SSHClients to provide the number of retries to their connect()
methods at construction time.
* Make the 'SSH Connection refused' print statement more informative.
* Since connection can fail during SSHClient construction without
raising an exception, provide a method to ask whether we're really
connected or not.
* Fix an error where `close()`ing an SSHClient created with
`sshclient_from_instance` fails due to an undeclared method.