matt wrote:
 > On Mon, Aug 07, 2006 at 09:17:15AM -0400, Paul Fox wrote:
 > > hi -- is there a relatively painless way to cause the dropbear
 > > server to log all remote command executions?  i only need this
 > > for debugging -- i want to see all instances where a client has
 > > run "ssh myhost some command", or has run scp to copy files to or
 > > from myhost.  i don't need interactive session logging.
 > > 
 > > a quick perusal of the docs didn't turn up anything obvious.
 > 
 > There's no builtin way, though you could modify a shell
 > login file (.zshenv for zsh, not sure about others) to log
 > the commands, since all commands are actually run as 
 > 'sh -c "some command"'.

oh, good idea.  i'll try that first.

 > 
 > The attached patch will work if you don't mind recompiling.

excellent!

thanks,
paul
=---------------------
 paul fox, [EMAIL PROTECTED]


Reply via email to