Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-19-2004, 07:09 AM   #1
Registered: Apr 2004
Distribution: Debian
Posts: 203

Rep: Reputation: 32
sftp no longer works, but ssh still does.

I have Debian testing installed and I use ssh to remote admin my computer. I use SSH Secure Shell from to login to the linux box. I can login and use the shell with no problems but when I try a secure ftp connection while logged in I get an error that the sftp-server is not working. I've tried putty and psftp as well and no luck there also. I've uninstalled ssh and reinstalled it as well and the sftp still does not work.

The error says:

File transfer server could not be started or exited unexpectidly.
Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side.

I know that it is in the path because I get this error even as root. Also in the sshd_config file the line for the sftp-server reads:

Subsystem sftp /usr/lib/sftp-server

Which is the full path to the sftp-server program and it is in the $PATH variable as well for the user.

The root $PATH variable is:


Any suggestions about how to get the sftp feature of ssh to work again?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh login works but sftp doesn't... koyi Linux - Networking 10 03-12-2020 09:44 AM
Power off no longer works davholla Linux - Hardware 13 07-26-2005 01:08 PM
Abiword no longer works KMcD Linux - Software 2 03-31-2004 04:56 AM
k3b no longer works guygriffiths Linux - Software 0 03-06-2004 02:20 PM
Modem no longer works infornography Linux - General 3 11-07-2003 12:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration