Failed to open a secure file transfer session
I have set up a red hat linux 9.0 server (apache 2.0). I was initially able to connect to SSH client from remote computer and perform file transfer function without any problem. Now suddenly when i try to connect to my server remotely thru SSH client,I get the following errors.
Failed to open a secure file transfer session.
File transfer could not be started or it exited unexpectedly.Exit value 0 was returned.Most likely the sftp-server is not in the path of the user on the server-side.
I am able to open a new terminal window but the file transfer does not work. Can anyone help me with this?
Re: Failed to open a secure file transfer session
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.