{Q} how to setup sftp log

Anaya, Michael mianaya at edatatrace.com
Wed Jun 7 18:37:21 UTC 2006


We just migrate out UNIX system to Redhat LINUX system
(AS 3.6).  I tried to find who use "sftp"
login to my server.  on SUN or AIX server I can use:

    last|grep ftp

This commanf does NOT show anything on LINUX.  

Can anyone tell me :

1. where is log file for sftp or how to setup  sftp
log file?

2. any command similiar to "last" which can check
"sftp" login?

Thanks.
 

sudo last -f /var/log/secure
**********************************************************************
This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

                                   FADLD Tag
**********************************************************************





More information about the redhat-list mailing list