if (!state.flag_auth_serviceRequested)
{
/* Must be PacketServiceRequest */
PacketServiceRequest psr = new PacketServiceRequest(msg, 0, msglen);
if (!"ssh-userauth".equals(psr.getServiceName()))
throw new IOException("SSH protocol error, expected ssh-userauth service request");
PacketServiceAccept psa = new PacketServiceAccept("ssh-userauth");
state.tm.sendAsynchronousMessage(psa.getPayload());