ssh works, but sftp doesn't

Damien Miller djm at mindrot.org
Fri May 9 19:55:20 EST 2008


On Fri, 9 May 2008, kannappan wrote:

> Hello All,
> 
> I have built the OpenSSH provided with the "buildroot" package for ARM
> board. OpenSSH version is openssh-4.7p1. 
> 
> After starting the SSHD, I am able to ssh to my ARM board, from my PC,
> but SFTP fails.
> 
> Attached is the log I got from the daemon.  Any help is appreciated.

For some reason your sftp-server is exiting immediately. Check that
/usr/sbin/sftp-server exists, is executable and doesn't crash
when executed.

For a better test of sftp-server, you can run it directly from
sftp: "sftp -P /usr/sbin/sftp-server blah"

-d


More information about the openssh-unix-dev mailing list