Thanks for your prompt response. 'ssh root@10.64.17.115 /bin/true' does not produce any output. 'ssh root@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@xxxxxxxxxxx> 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@xxxxxxxxxxx > 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@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@10.64.17.115 /bin/true > > produce? > > Also: > > ssh root@10.64.17.115 /usr/libexec/openssh/sftp-server > > -d > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev