Re: {Q} how to setup sftp log

"Tim Evans" <[email protected]>
Newsgroups gmane.linux.redhat.release.taroon.general,gmane.linux.redhat.general
Message-ID <[email protected]>
On Thu, 8 Jun 2006 01:33:31 +0800 (CST), mcclnx mcc wrote

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

By default, RedHat logs ssh-based connections (including sftp connections) to
/var/log/secure
> 
> 2. any command similiar to "last" which can check
> "sftp" login?

# grep sftp /var/log/secure | tail



--
Tim Evans, TKEvans.com, Inc.    |    5 Chestnut Court
[email protected]             |    Owings Mills, MD 21117
http://www.tkevans.com/         |    443-394-3864
http://www.come-here.com/News/  |    

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.