You are not logged in.

#1 2010-08-10 06:58:22

victorhooi
Member
Registered: 2009-08-06
Posts: 109

Logging all SSH sessions? (Package to do it?)

heya,

I was wondering if there was a foolproof way of logging all commands executed via SSH? (i.e. logging all remote SSH sessions).

I know you can do it manually via "script", or replacing the login shell, but I was hoping for perhaps a program/service, that did it automatically. (Just like how etckeeper managers all your configuration files).

Also, I'd need it to work with all logins, including password-based ones as well.

Cheers,
Victor

Offline

#2 2010-08-11 18:46:37

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: Logging all SSH sessions? (Package to do it?)

On Solaris, you would probably use BSM.  A search on google for "bsm linux" reveals some alternatives for Linux which you could try.

Offline

#3 2010-08-11 20:58:09

anrxc
Member
From: Croatia
Registered: 2008-03-22
Posts: 834
Website

Re: Logging all SSH sessions? (Package to do it?)


You need to install an RTFM interface.

Offline

Board footer

Powered by FluxBB