SSH Logging

Todd Zullinger tmz at pobox.com
Mon Mar 17 02:13:48 UTC 2008


Thomas Kappelmueller wrote:
> Is there a easy way to log all the output of a SSH-Session?
>
> Not only the commands but actually all the output you get in the 
> SSH-Client. I am using Fedora and CentOS.
>
> I've tried a few different things in the sshd_config but with no success.

The script command is a handy way to log a shell session, commands and
output.  This isn't exactly what you asked for, but it might be close
enough, depending on what you need the logs for.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So I don't get hurt?!  That's the best you can come up with you
dull-witted termagant!
    -- Stewie Griffin, on why he needs a car seat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20080316/923d240d/attachment-0001.bin 


More information about the users mailing list