[scponly] How to change the sftp logging parameters.

Kaleb Pederson kaleb.pederson at gmail.com
Tue Jul 15 16:06:13 EDT 2008


On Tue, Jul 15, 2008 at 12:13 PM, Jason Dickerson
<jason.dickerson at gmail.com> wrote:
> I have been attempting to understand how to configure the sftp-server
> logging level in scponly.  I would like to change it from DEBUG3 to INFO.
> For example, when scponly calls sftp-server it is using the following
> command:
>
> sftp-server -f USER -l DEBUG3
>
> and I would like it to use:
>
> sftp-server -f USER -l INFO

Scponly's only responsibility is to verify that the command line is
valid and then allow the command to be issued.  However, OpenSSH's
Subsystem command in the sshd_config file allows you to specify the
arguments to the sftp subsystem.  Thus, you might be able to override
whatever is currently being passed.

Although my sftp-server supports the arguments you list above, I'm not
sure what causes the client to specify them.

Note that if the above doesn't work, there's a solution which requires
some programming.

Please let us know how it goes.

Thanks.

--Kaleb



More information about the scponly mailing list