[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to set the disconnect message as a server
[Thread Prev] | [Thread Next]
- Subject: How to set the disconnect message as a server
- From: Adley Phu <adley.phu@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 23 Nov 2020 14:21:58 +0800
- To: libssh@xxxxxxxxxx
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
Re: How to set the disconnect message as a server | Jakub Jelen <jjelen@xxxxxxxxxx> |