Re: openssh-5.0p1: sftp transfer logging doesn't appear to work with

This is a discussion on Re: openssh-5.0p1: sftp transfer logging doesn't appear to work with within the OpenSSH Development forums, part of the Networking and Network Related category; On Sun, May 04, 2008 at 10:30:29AM -0700, john wrote: > > What exact steps have you taken ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 1 Week Ago
Peter Stuge
 
Posts: n/a
Default Re: openssh-5.0p1: sftp transfer logging doesn't appear to work with

On Sun, May 04, 2008 at 10:30:29AM -0700, john wrote:
> > What exact steps have you taken to accomplish what Damien proposed?

>
> Yes sorry Dan, I should have been specific.
>
> I created a file in my chroot root called /home/dev/auth.log
>
> Then I edited syslogd to write auth log to that location and
> restarted syslogd.


Aha. No, it has to be the other way around.

Create a /home/dev/log pipe/socket and make syslogd listen there in
addition to the regular /dev/log


> I commented out my chroot in sshd_config and confirmed that sftp
> file transactions were being logged in /home/dev/auth.log


The log file itself can and should probably not be inside the chroot.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0