For some reason I can't see the command history log if someone ssh's into my account and runs some commands from my user account. If I run the history command in the terminal I only see my own commands that I have run. But not those of the person who ssh'ed into my account.
Is there a way to see what the person who ssh into my account is doing? What commands he is running from my account?


wtmp? Files left over? Are you sure it's not e.g. acronjob?/etc/ssh/sshd_configon the server and putenvironment="HISTFILE=~/.hist2"before the public key in the~/.ssh/authorized_keyson the server.