internal-sftp logging sshd
I have been looking into how to get logging on my SSH server. I would like to have logs similar to what normal FTPs would have when you connect and download/upload. But the only logging I have been able to find is either VERBOSE or DEBUG. Both of which seem to give too much information. It would be nice if there was a logging mode that was just commands sent to the server, does anyone know if this exists?
|
In sshd_config, change this:
Code:
Subsystem sftp /usr/libexec/openssh/sftp-server Code:
Subsystem sftp /usr/libexec/openssh/sftp-server -l INFO -f AUTH Code:
auth.info /var/log/sftp.log |
Code:
auth.info /var/log/sftp.log And you wouldn't happen to know where syslog.conf is located in Ubuntu 9.10 would you? And I did implant the first part that was what I was looking for thank you. I must have over looked the info logging. verbose just had too much information that was not needed, I guess that is why they call it verbose :) |
Quote:
Quote:
|
Quote:
Any idea on why this would be the case? |
All times are GMT -5. The time now is 05:51 PM. |