Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    jks
    jks is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    6

    Failed to open a secure file transfer session


    Hi,
    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?

    Thanks
    Jo

  2. #2
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    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.
    http://nikhilk.homedns.org/projects/index.html

  3. #3
    jks
    jks is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    6

    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.

    Jyoti

  4. $spacer_open
    $spacer_close

Posting Permissions

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