}
// Create the client from prototype
SshClient client = (SshClient) container.getComponentInstance(sshClientId);
log.debug("Created client: {}", client);
client.start();
String agentSocket = null;
if (this.session.get(SshAgent.SSH_AUTHSOCKET_ENV_NAME) != null) {
agentSocket = this.session.get(SshAgent.SSH_AUTHSOCKET_ENV_NAME).toString();
client.getProperties().put(SshAgent.SSH_AUTHSOCKET_ENV_NAME,agentSocket);