data.writeBinaryString(key.getEncoded());
// Generate the signature
baw.writeBinaryString(agent.hashAndSign(key, data.toByteArray()));
SshMsgUserAuthRequest msg = new SshMsgUserAuthRequest(getUsername(),
serviceToStart, getMethodName(), baw.toByteArray());
authentication.sendMessage(msg);
try {
authentication.readAuthenticationState();