* Connection to be attached to an available local agent
* @return true if connected to agent, false otherwise
*/
private boolean attemptAgentUse(JSch jsch) {
try {
Connector con = ConnectorFactory.getDefault().createConnector();
jsch.setIdentityRepository(new RemoteIdentityRepository(con));
return true;
} catch (AgentProxyException e) {
Message.verbose(":: SSH :: Failure connecting to agent :: " + e.toString());
return false;