openssh logging of remote commands in syslog

Kevin Taylor ktaylor at
Thu Mar 8 07:30:29 EST 2001

Another wonderful email from me. :)

The version of ssh will log information on the remotely executed
command in the syslog:

Mar  7 15:29:20 6D:marx sshd[21346]: log: executing remote command as
root: ls

It seems that openssh doesn't do that by default. If you put the server
in debug mode you'll see the command, but a lot of extra stuff that you
don't want to see.

Feature suggestion...?

More information about the openssh-unix-dev mailing list