[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set the disconnect message as a server


When disconnecting, the SSH protocol allows you to send a uint32 reason
code and human readable description. See
https://tools.ietf.org/html/rfc4253#section-11.1 "SSH_MSG_DISCONNECT"

You can receive this message with ssh_get_disconnect_message() but is it
possible to set the message when disconnecting? Specifically, as a
server disconnecting a client.

Thanks,
Adley

Follow-Ups:
Re: How to set the disconnect message as a serverJakub Jelen <jjelen@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org