search for: ssh_user_close

Displaying 2 results from an estimated 2 matches for "ssh_user_close".

2024 May 27
1
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
...SH feels this is more polite than sending a > * DISCONNECT. So now we don't. > */ > + > + /* We do again. */ > + ssh2_bpp_queue_disconnect(s->ppl.bpp, "disconnected by user", > SSH2_DISCONNECT_BY_APPLICATION); > + > ssh_user_close(s->ppl.ssh, "All channels closed"); > return; > } Yeah, you're adding a new thing that will be logged. IMO you should try to figure out why the "Connection closed" message that is present in the debug log you sent is not making to to your syslog.
2024 May 22
2
OpenSSH server doesn't log client disconnect without SSH_MSG_DISCONNECT
On Tue, 21 May 2024, Opty wrote: > Hello, > > can anyone confirm that OpenSSH server doesn't log client disconnect > without SSH_MSG_DISCONNECT? OpenSSH logs the disconnection regardless of whether the client sends SSH_MSG_DISCONNECT or just drops the connection. A little more information may be logged from the disconnect packet if it was sent, but there should always be a