Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Log SSH activity

I need to implement a secure server to be the only source for connecting to routers and switches in the lan. The only task that that is getting me trouble to solve is the requirement to log all the users actions in the server (and the routers).

I've trying with ttysnoop, but can't autostart the log to file when a user log in.

Ther is a way to accomplish this?

(Sorry for my english)

share|improve this question

marked as duplicate by fossfreedom Apr 21 '12 at 9:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Duplicate: Log SSH activity - question should get closed. – tohuwawohu Apr 20 '12 at 10:05

Maybe rootsh could work.

share|improve this answer
I'll give it a try, sounds like the perfect soluction.. thank you!!! – Nextoor Apr 20 '12 at 11:19

Not the answer you're looking for? Browse other questions tagged or ask your own question.