Possible Duplicate:
How do I log every command executed by a user?
How can I log SSH activity on 10.04 Ubuntu Server? This includes all commands he issued and output he got.
How can I log SSH activity on 10.04 Ubuntu Server? This includes all commands he issued and output he got.
| |||||
feedback
|
This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.
|
2 options I see for you:
But the bottom-line is, if you don't trust a user, don't allow them on your system. No system is bulletproof. | |||||
feedback
|
|
Possible screen as shell? But its hard for be sure, that user cant hack that. | |||||||
feedback
|
|
Add:
to /etc/ssh/sshd_config and restart. Note: "Logging with a DEBUG level violates the privacy of users and is not recommended." | |||||
feedback
|