Quote Originally Posted by jks View Post
Thanks it worked. I had to change the following line in my sshd_config file:
Subsystem sftp /usr/libexec/sftp-server , to
Subsystem sftp /usr/local/libexec/sftp-server.

I'm having the same problem, when logged in as root. SSH works ok. But SSH file transfer gives the error: "Failed to open a Secure File Transfer session."
"File transfer server could not be started or it exited unexpectedly. Exit value 0 was returned."

I've been using SSH file transfer till a few days ago, and all of a sudden it gives me this error.
Looking at the changes i made, since then:
Have reverted changes i had made to /root/.bashrc and /root/.bash_profile.
Have not changed /etc/gdm/custom.conf that i edited for autologin facility..

Any help would be appreciated !