Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question