> @@ -63,9 +77,14 @@ public Factory(ProxyConfig proxyConfig, > BackoffLimitedRetryHandler backoffLimite > > @Override > public SshClient create(HostAndPort socket, LoginCredentials > credentials) { > - SshClient client = new JschSshClient(proxyConfig, > backoffLimitedRetryHandler, socket, credentials, timeout); > + SshClient client = new JschSshClient(proxyConfig, > backoffLimitedRetryHandler, socket, credentials, timeout, > getAgentConnector());
Since Factory is a singleton, then all connections would share the same connector? Would you rather protect against potential concurrency problems only when you run into them? My use case only uses one ssh connection so right now this would not affect me either way... --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/312/files#r10967937