phiphedog
July 19th, 2007, 07:41 AM
I have installed OpenSSH and have set up a SFTP server with hostkey authentication. and I want to be able to see who is connected and what files they have requested or uploaded.
in /etc/ssh/sshd_conf I have put the following entries:
# Logging
SyslogFacility AUTH
LogLevel DEBUG
and in the /etc/syslog.conf file I have put the following line
auth.debug /var/log/ssh.log
In the ssh.log file I can see who requests a connection and if they are succesful or not but I am unable to see who is still connected, what they have requested and what they have uploaded.
Is there even a system command that will tell me who is connected on what port?
in /etc/ssh/sshd_conf I have put the following entries:
# Logging
SyslogFacility AUTH
LogLevel DEBUG
and in the /etc/syslog.conf file I have put the following line
auth.debug /var/log/ssh.log
In the ssh.log file I can see who requests a connection and if they are succesful or not but I am unable to see who is still connected, what they have requested and what they have uploaded.
Is there even a system command that will tell me who is connected on what port?