openssh logging of remote commands in syslog

Pekka Savola pekkas at netcore.fi
Thu Mar 8 09:19:59 EST 2001


On Wed, 7 Mar 2001, Kevin Taylor wrote:

>
> Another wonderful email from me. :)
>
> The ssh.com 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.

IMO, this kind of logging can be rather intrusive..

-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords






More information about the openssh-unix-dev mailing list