SFTP fails at connection

Sachin Gupta sachin3072004 at gmail.com
Fri Jul 4 10:07:15 EST 2014


Thanks for your prompt response.

'ssh root at 10.64.17.115 /bin/true' does not produce any output.

'ssh root at 10.64.17.115 /usr/libexec/openssh/sftp-server' hangs there. But
it has started the sftp-server process on 10.64.17.115.

Thanks
Sachin



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

> On Thu, 3 Jul 2014, Sachin Gupta wrote:
>
> > Hello,
> >
> > I have recently installed openssh6.5 on my Centos box.
> > And I can do ssh to my centos box. But SFTP fails at connection.
> > I get following messages when I try to run sshd in debug mode.
> >
> > debug1: subsystem: exec() /usr/libexec/openssh/sftp-server
> > Starting session: subsystem 'sftp' for op from 192.168.1.101 port 53994
> > debug1: server_input_channel_req: channel 0 request eow at openssh.com
> reply 0
> > debug1: Received SIGCHLD.
> > debug1: session_by_pid: pid 25173
> > debug1: session_exit_message: session 0 channel 0 pid 25173
> > debug1: session_exit_message: release channel 0
> > Received disconnect from 192.168.1.101: 11: disconnected by user
> > debug1: do_cleanup
> > debug1: do_cleanup
> > debug1: PAM: cleanup
> >
> >
> > As suggested in FAQ's I tried following command too.
> >
> > ssh root at 10.64.17.115 /usr/bin/true
> > bash: /usr/bin/true: No such file or directory
> >
> > Can you please guide me why SFTP connection is failing ?
>
> What does:
>
> ssh root at 10.64.17.115 /bin/true
>
> produce?
>
> Also:
>
> ssh root at 10.64.17.115 /usr/libexec/openssh/sftp-server
>
> -d
>


More information about the openssh-unix-dev mailing list