http://fixunix.com/ssh/73946-sftp-logs.html
> sftp-server logging and the ability to pass command line options to > subsystems were both added in version 4.4 (which is also why your > man pages don't have it). On Fri, Nov 11, 2011 at 10:49 AM, scottmarydavid...@gmail.com <scottmarydavid...@gmail.com> wrote: > I've got a SuSE v10 server on which I'm running sshd. The sftp subsystem is > loaded by the ssh daemon. I'd like to log the file transfer activities of > each user but I've been unable to figure out how. > > According to the man page for sshd_config, I can set the logging level by > un-commenting the line loglevel and adding one of many available values. I > tried a few (INFO, DEBUG, VERBOSE) but this didn't provide any additional > sftp logging. > > I've found references online suggesting that I can append switches (see > below) to the subsystem call in sshd_config but that prevents sshd from > starting (Starting SSH daemon/etc/ssh/sshd_config line 112: garbage at end > of line; "-f".). It also fails if i remove -f AUTH (Starting SSH > daemon/etc/ssh/sshd_config line 112: garbage at end of line; "-l".). > Here's the line from sshd_config: > Subsystem sftp /usr/lib/ssh/sftp-server -f AUTH -l VERBOSE > > I haven't been able to figure out if there's something different about this > version of sshd / sftp-server I'm running or if I'm going about it wrong. > If I can make my existing environment work, I'd rather do that then update > / upgrade. > > Any suggestions or tips would be greatly appreciated. > Scott > _______________________________________________ > Discuss mailing list > Discuss@blu.org > http://lists.blu.org/mailman/listinfo/discuss > -- John Abreau / Executive Director, Boston Linux & Unix OLD GnuPG KeyID: D5C7B5D9 / Email: abre...@gmail.com OLD GnuPG FP: 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 2011 GnuPG KeyID: 32A492D8 / Email: abre...@gmail.com 2011 GnuPG FP: _______________________________________________ Discuss mailing list Discuss@blu.org http://lists.blu.org/mailman/listinfo/discuss