Closed reynir closed 9 months ago
Or maybe not:
NB. due to certain broken SSH implementations aborting upon receipt of this message, the no-more-sessions request is only sent to OpenSSH servers (identified by banner). Other SSH implementations may be listed to receive this message upon request.
Since we at the moment only support having one channel we could send
no-more-sessions@openssh.com
when connecting so the server, if it is aware ofno-more-sessions@openssh.com
, can close the connection once the last (and only) channel is closed. The feature is documented in openssh'sPROTOCOL
document.