Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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?


  2. #2
    Linux User
    Join Date
    May 2003
    most probably ssh,scp is not in ur path...i had the same problem on my machine...just put it in the path and it should work.
    Fixing Unix is better than working with Windows.

  3. #3

    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.


  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts