SSH Logging

Frank Mohr
Fri, 02 Apr 2004 08:06:41 -0000

Hi

there was a scp-logging patch a few days ago on the list:

> Subject: PATCH: scp logging
>    Date: Mon, 08 Mar 2004 20:05:50 +0100 (CET)
>    From:  V?clav Tomec <v_t_m at seznam.cz>
>      To:  OpenSSH <openssh-unix-dev at mindrot.org>

I don't remember one for the sftp-server.

Your users have other (unlogged) ways to transfer files if they have
shell access. (ssh "cd /somedir && tar cf - somepath" | tar
xvf -)

Frank


David McDonald wrote:
>
> Hi,
>
> I'd like to be able to log file transfers to/from an SSH server
> (both through scp and sftp-server).
>
> Perhaps I'm not looking in the right places, but I don't see a
> way of doing this in the current code. The "scponly" shell goes
> some (small) way towards doing this, however, it logs patterns
> rather than filenames in scp transfers. I have even less success
> with sftp.
>
> If someone knows of patches that achive this aim, I'd like to
> hear about them or hear of any other appropriate suggestions.
>
> Alternatively, if nothing appropriate exists, I'd like to log
> an enhancement bugzilla entry requesting a logging option
> (not greatly dissimilar to an "xferlog" from an FTP daemon).
>
> Regards,
>
> Dave McDonald
> Communications/Unix Analyst
> Security Mail Pty Ltd
> t       02-9554-0000 (switch)
>         02-9554-0346 (direct)
> m       04-2707-6947
> f       02-9554-0554
> e       david.mcdonald at securitymail.com.au
> a       6 The Crescent, Kingsgrove NSW 2208
>         Locked Bag 86, Kingsgrove NSW 1480
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev