A
A
Artem Matyashov2017-01-21 14:54:14
linux
Artem Matyashov, 2017-01-21 14:54:14

How to track SSH user activity?

On the ubuntu server, I arranged for the authorization notification to be sent via the /etc/ssh/sshrc file , but this is not enough. Are there any means to track user activity? Roughly speaking, after closing the SSH session, I would receive an email about the commands executed by the user:

cd /home/user
touch file.txt
rm -rf dir2
vim .ssh/config
ну и т.д.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-01-21
@sim3x

Logging askubuntu.com/questions/93566/how-to-log-all-bash
-...
Restrict command list per user
www.tecmint.com/rbash-a-restricted-bash-shell-expl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question