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

Reply via email to