> @@ -67,5 +70,19 @@ public SshClient create(HostAndPort socket, > LoginCredentials credentials) { > injector.injectMembers(client);// add logger > return client; > } > + > + @Override > + public boolean existsSshAgent() { > + try {
Could do that (reuse getSSHAgentConnector()), but that would add a dependency to the Client that does not yet exist and would have to make that function public. Easily done if you don't feel that is a problem. To me injection here needlessly complicates things. --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/312/files#r10861257