Bug 2960

Summary: Send a message to syslog when "ForceCommand internal-sftp" is used and a ssh connection is dropped
Product: Portable OpenSSH Reporter: Jakub Jelen <jjelen>
Component: sftp-serverAssignee: Damien Miller <djm>
Status: CLOSED FIXED    
Severity: enhancement CC: djm, dtucker
Priority: P5 Keywords: patch
Version: 7.9p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2915    
Attachments:
Description Flags
proposed patch
none
include connection endpoint in log message dtucker: ok+

Description Jakub Jelen 2019-01-31 23:48:18 AEDT
Created attachment 3232 [details]
proposed patch

It is useful, not only for the connecting user, but also for the system administrator to see among the lines in the server log information about the reason why the connection was dropped.
Comment 1 Damien Miller 2019-02-08 15:15:40 AEDT
Created attachment 3241 [details]
include connection endpoint in log message

IMO this would be more useful if it included the offending client's details.
Comment 2 Damien Miller 2019-02-10 22:52:01 AEDT
This has been committed and will be in openssh-8.0
Comment 3 Damien Miller 2021-04-23 14:56:29 AEST
closing resolved bugs as of 8.6p1 release