sftp and wtmp support

Stephen Harris lists at spuddy.org
Wed Dec 2 03:28:02 AEDT 2020


On Tue, Dec 01, 2020 at 06:09:00PM +0200, Heikki Orsila wrote:
> Hello OpenSSH developers and users!
> 
> My client uses wtmp information to determine past logins though ssh into
> their production environment. It seems sftp does not write into wtmp, and

You'll also find things like
  ssh remotehost /bin/sh -i
also don't write to wtmp.

wtmp is totally unsuitable to be used as a tool to determine past logins.

-- 

rgds
Stephen


More information about the openssh-unix-dev mailing list