Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Need logging help



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, scottmarydavidsam at gmail.com
<scottmarydavidsam at 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 at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>



-- 
John Abreau / Executive Director, Boston Linux & Unix
OLD GnuPG KeyID: D5C7B5D9 / Email: abreauj at 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: abreauj at gmail.com
2011 GnuPG FP:



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org