enable logging for SSH
HiI am trying to enable logging for SSH. Using sun 5.9. The SSH was preinstalled.The logging should be able to track who logs in, time and ip address. Is it possible to also track what each user has done?Any help would be appreciated.ThanksDarren
[288 byte] By [
implife] at [2007-11-26 9:57:44]

# 4
.. also, after adding the lines to your syslog.conf, ensure that the file exists and then restart the syslog daemon (using, for example, /etc/init.d/syslog stop /etc/init.d/syslog start ) 7/M.
# 5
it works.. thanks for both your help.. I was missing the start stop part.however, is there anywhere where by i can track what that particular user does? like if he created or edited a file or the commands ran?would using auth.debug help?
# 6
No, auth.debug would not help.
As far as I know, theres no facility in ssh to track what happens in an ssh session.
Just the logins.
I theory you can change the users shell into something logs the session.
Possibly something scripted with the "script" command.
But it would be non trivial.
# 8
There is a Solaris utility called Auditing, it might be able to do that kind of things, however i'm not 100% sure, but i think it would be worth looking into. 7/M.