OpenSSH
[Top] [All Lists]

Re: sftp logging

To: Darren Tucker <dtucker@zip.com.au>
Subject: Re: sftp logging
From: David Leonard <d@adaptive-enterprises.com.au>
Date: Mon, 19 Feb 2007 19:26:07 +1000
Cc: Michael Prochaska <michael@prochas.net>, openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: tmda@mindrot.org
In-reply-to: <45D9667E.9080707@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Old-delivered-to: openssh-unix-dev@mindrot.org
References: <45D9573D.4060507@prochas.net> <45D9667E.9080707@zip.com.au>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
Darren Tucker wrote:
> OpenSSH's sftp logging is turned on on by specifying "-l" to sftp-server.
>
> Trying making the "Subsystem sftp" line in sshd_config look something
> like the following and then restart sshd.
>
> Subsystem sftp /usr/libexec/sftp-server -l VERBOSE
>   


note that users can bypass your sftp-server log levels. e.g. by 
supplying the -s option to sftp with the full path to the sftp-server 
executable. However, they can supply their own logging levels,  which 
can be handy, eg

   $ sftp -s '/usr/libexec/sftp-server -lDEBUG -fDAEMON' remote-host

d



-- 
David Leonard                           d@adaptive-enterprises.com.au
                                        Ph:+61 404 844 850

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>