Log ssh sessions using open source tools

Damien Miller djm at mindrot.org
Mon Nov 5 13:42:25 AEDT 2018


On Sat, 3 Nov 2018, Kaushal Shriyan wrote:

> Hi,
> 
> Are there any open source tools to keep track of ssh sessions? For example,
> if a specific user is ssh logging to remote server and what commands or
> scripts are being run. Basically, i need to log all users sessions.

You should look at your operating system's audit functionality. E.g. Linux
has an audit system that can be configured to log all command executions
associated with a PTY (AFAIK).

-d


More information about the openssh-unix-dev mailing list