byte[] requestData) throws InvalidChannelException {
try {
AgentSocketChannel channel = new AgentSocketChannel(false);
Socket socket = SshAgentClient.connectAgentSocket(System.getProperty(
"sshtools.agent") /*, 5*/);
channel.bindSocket(socket);
return channel;
} catch (Exception ex) {
throw new InvalidChannelException(ex.getMessage());
}