SFTP fails at connection

Sachin Gupta sachin3072004 at gmail.com
Fri Jul 4 14:37:32 EST 2014


I tried 'ssh  sachinmaster at 10.64.17.115 /usr/libexec/openssh/sftp-server'

And I got following output.
Identity added: /Users/sachingupta/.ssh/id_dsa
(/Users/sachingupta/.ssh/id_dsa)
Password:
No user found for uid 500

Any help will be highly appreciated.

Thanks
Sachin


On Thu, Jul 3, 2014 at 5:44 PM, Damien Miller <djm at mindrot.org> wrote:

> On Thu, 3 Jul 2014, Sachin Gupta wrote:
>
> > dhcp-1-101:~ sachingupta$ sftp -vvv root at 10.64.17.115
>
> So, sftp seems to be running when you invoke it explicitly but failing
> when you run it as a subsystem
>
> If you are on the target host, does
>
> sftp -D /usr/libexec/openssh/sftp-server
>
> result in a working sftp session?
>
> I'd recommend turning up the logging from sftp-server too in your
> sshd_config:
>
> Subsystem sftp /usr/libexec/openssh/sftp-server -l debug3 -f daemon
>
> And check your /var/log/daemon (or similar) for clues.
>
> -d
>


More information about the openssh-unix-dev mailing list