[scponly] Scponly 4.8 on Debian 4.0 64bit

Valkuma valkuma at googlemail.com
Wed Mar 17 12:04:43 EDT 2010


Hello, thanks for your answer.

How  can i retrive debug info for sftp? The only output i get is dow
there in my first post.
the "--enable-sftp-logging-compat" i've got from an other installation
on 32bit OS done by my mate.

i think i compile it again but without "--enable-sftp-logging-compat"

Thanks

Valkum

Am 16.03.2010 22:12, schrieb Kaleb Pederson:
> On Tuesday 16 March 2010 01:46:35 pm Valkuma wrote:
>   
>> Scponly is compiled with this options: --enable-winscp-compat
>> --enable-sftp-logging-compat --enable-scp-compat
>> --enable-chrooted-binary --enable-passwd-compat
>>
>> after compiling i have changed #define PROG_SFTP_SERVER to 64bit path.
>> and in my script i add the patz for ld.so
>>     
> [...snip...]
>
>   
>> scp works with some errors
>>
>> scponly[13753]: Unable to find "LOG_SFTP" in the environment
>> scponly[13753]: Found "USER" and setting it to "globalgameport.com"
>> scponly[13753]: Unable to find "SFTP_UMASK" in the environment
>> scponly[13753]: Unable to find "SFTP_PERMIT_CHMOD" in the environment
>> scponly[13753]: Unable to find "SFTP_PERMIT_CHOWN" in the environment
>> scponly[13753]: Unable to find "SFTP_LOG_LEVEL" in the environment
>> scponly[13753]: Unable to find "SFTP_LOG_FACILITY" in the environment
>> scponly[13753]: Environment contains "USER=globalgameport.com"
>> scponly[13753]: running: /usr/bin/scp -t /html (username:
>> globalgameport.com(1004), IP/port: 78.46.62.72 57840 22)
>> scponly[13753]: about to exec "/usr/bin/scp" (username:
>> globalgameport.com(1004), IP/port: 78.46.62.72 57840 22)
>>     
> Those are really just informational messages and not actually errors.
>
> I'm surprised to see that scponly is compiled with "--enable-sftp-logging-compat" as that option is only intended for use with the sftp-logging patch that is now defunct.  It was replaced by the sftpfilecontrol patch and I haven't checked to see if the patch is still relevant.  As of OpenSSH 4.4p1, support for sftp logging is built into OpenSSH.
>
>   
>> Need i to recompile it ?
>>     
> Well, changing the header doesn't change the binary unless you recompile, but I'm not sure I understand why you changed the header.  Whether you need to recompile depends on the output I'm asking for below.
>  
>   
>> SFTP doesn't works.
>>
>> server2:~# sftp sampleuser at server2:/html      Connecting to server2...
>> sampleuser at server2's password:
>> Connection closed
>> server2:~#
>>     
> Can you provide us a copy of the debug output (logging) for the sftp connection just as you did for the scp connection above?  This will help us figure out what's going on.
>
> Thanks.
>
> --
> Kaleb Pederson
>
> Blog - http://kalebpederson.com
> Twitter - http://twitter.com/kalebpederson
>   




More information about the scponly mailing list