Ubuntu – Log SSH activity

logssh

All, I have an Ubuntu host that accepts SSH connections. How can I log all commands that are run on a specific account that logs in via SSH?

Thanks

Best Answer

Maybe you can make sshd use a logging shell like rootsh?

Related Question