I'll test this later this week.

FTR, it is very easy to test. In [this 
comment](https://github.com/jclouds/jclouds/pull/312#issuecomment-38077166) I 
put some example steps. Basically what needs to be done is:

1. Create a new SSH key in your machine, protected with a password. We protect 
the private key with a password so we are prompted for it when authenticating. 
This interactive prompt is not supported by jclouds, and we expect the 
authentication to fail.
1. Deploy a node in any cloud provider and authorize the just created public 
key.
1. Try to run a script on that node. Authentication will fail.
1. Add the SSH key to the ssh-agent locally, with the `ssh-add` command.
1. Try to run the script again. Even if you don't provide credentials, the 
authentication will succeed, as it will fallback to the SSH agent.


---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/525#issuecomment-56001057

Reply via email to