I am running a ssh-service on my computer and clients connect to it from all over the network. Is it possible to see the commands that people have run on my computer?

for example a user connects to my computer and runs a few commands, I want to log and see all the commands that he and other users have used (their command history).