32 $this->userAuthRequestHandler = $methods;
43 $service = $message->getServiceName();
45 if ($service ===
'ssh-userauth') {
46 $response = new \fpoirotte\Pssht\Messages\SERVICE\ACCEPT($service);
47 $transport->setHandler(
49 $this->userAuthRequestHandler
57 $transport->writeMessage($response);
const SSH_DISCONNECT_SERVICE_NOT_AVAILABLE
Disconnected because the requested service is not available.
handle($msgType,\fpoirotte\Pssht\Wire\Decoder $decoder,\fpoirotte\Pssht\Transport $transport, array &$context)
static unserialize(\fpoirotte\Pssht\Wire\Decoder $decoder)
$userAuthRequestHandler
User authentication request handler.
__construct(\fpoirotte\Pssht\Handlers\USERAUTH\REQUEST $methods)