[scponly] sftp not working, but scp does

Brian Davis bridavis at comcast.net
Tue Nov 28 10:02:03 EST 2006


Hi,

I'm using WinSCP 3.8.2. The session default of "SFTP (allow SCP 
fallback) is checked.  When WinSCP tries to connect, if gives the 
following error and immediately disconnects:

"Cannot initalize SFTP protocol. Is the host running a SFTP server?
Connection has been unexpectedly closed. Server sent command exit status 
255."

However, selecting SCP for the session seems to work fine.  Here is my 
auth.log when trying sftp:

Nov 26 22:14:41 flagg sshd[20279]: Accepted keyboard-interactive/pam for 
test from 192.168.1.103 port 3530 ssh2
Nov 26 22:14:41 flagg sshd(pam_unix)[13368]: session opened for user 
test by (uid=0)
Nov 26 22:14:41 flagg sshd[13368]: subsystem request for sftp
Nov 27 03:14:41 flagg scponly[12982]: running: /usr/lib/misc/sftp-server 
(username: test(1003), IP/port: 192.168.1.103 3530 7777)
Nov 26 22:14:41 flagg sshd(pam_unix)[13368]: session closed for user test

Any ideas?

Also, can the logging for scponly be configured to use local time rather 
than GMT?

Thanks!





More information about the scponly mailing list