fixes ssh for servers with PubkeyAuthentication only

https://issues.apache.org/jira/browse/LIBCLOUD-461