Results 1 to 5 of 5
Recently I have assign a new job from by boss to keep track WinSCP and scp connection information. Means if a users is connected from WinSCP or scp I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-10-2012 #1Just Joined!
- Join Date
- Feb 2008
- Posts
- 5
WinSCP and SCP connection Info
Recently I have assign a new job from by boss to keep track WinSCP and scp connection information. Means if a users is connected from WinSCP or scp I have to keep track that what they do means in which files they made changes, what file they deleted or what file they copy using winscp or scp connection on there server and that command they are executing. I want record every thing what they do on server.
Is there any way to keep track this information. Your suggestion in this regard is hight appreciated.
- 06-19-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,745
I thought this would be as easy as changing LogLevel to VERBOSE or DEBUG3 in sshd_config, but nope - at least on my Fedora/CentOS boxes.
Try the sftpfilecontrol patch to get that kind of logging capability. you'll have to d/l the source openssh package and apply this patch to that - you ought to use the source package specifically for your distro, if you can.
- 06-19-2012 #3Just Joined!
- Join Date
- Feb 2008
- Posts
- 5
For SFTP and WinSCP Logging. Please replace the following line in /etc/ssh/sshd_config
withCode:Subsystem sftp /usr/lib/openssh/sftp-server
Now how to I enable SSH and SCP logging for you access the file or change is permissions or removed itCode:Subsystem sftp /usr/lib/openssh/sftp-server -l INFO
Is there any why to do this
- 06-19-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,745
- 06-19-2012 #5Just Joined!
- Join Date
- Feb 2008
- Posts
- 5


Reply With Quote

