openssh logging of remote commands in syslog

Damien Miller djm at mindrot.org
Thu Mar 8 10:23:44 EST 2001


On Wed, 7 Mar 2001, Kevin Taylor wrote:


> Well, maybe it can be something added to a different log level.
> Something that is not as severe as debug, so it can be set to be logged
> or not....but also not get gobs of info that lower log levels provide

Search for (regex) ".*command in session.c and change the debug()s to
verbose()s.

I don't think logging of commands should be encourages for the general
case though.

-d

-- 
| Damien Miller <djm at mindrot.org> \ ``E-mail attachments are the poor man's
| http://www.mindrot.org          /   distributed filesystem'' - Dan Geer






More information about the openssh-unix-dev mailing list