LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2004, 06:58 PM   #1
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Rep: Reputation: 15
New problem


I am able to SSH to my Linux box from my winXP box, now I get this
new problem below.

This happends when I open up a file transfer window on my SSH program running on XP I get the follwoing error.

"Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side."

the file sftp server is on my Linux box, but I really do not know what the error means...

Thanks again!!
 
Old 07-30-2004, 07:03 PM   #2
Ankheg
Member
 
Registered: Jul 2004
Location: Woodland Hills, CA
Distribution: Debian/Mandrake
Posts: 37

Rep: Reputation: 15
Sounds like it's expecting the executable for the sftp server to be in the user's path... For example. If I'm running some generic sftpd as my sftp server, and my user is foo, then foo's path would need to include the path where sftp resides?...

This seems odd to me that it would need that to run though... I might suggest an alternate sftp server...
 
Old 07-30-2004, 07:04 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Usually the sftp-server is in /usr/libexec/openssh/sftp-server or /usr/libexec/sftp-server -- can you check if either of those directories exist. On my Red Hat boxen, that file is provided by the openssh-server RPM, so if your sshd is working it should just work right, but it's obviously not. You might check and make sure that the file is world readable and executable, assuming that it exists.
 
Old 07-30-2004, 07:06 PM   #4
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks, but I do not remember how to add the file sftp-server to the user path. What file do I modify for this. if I am running bash shell is it .bashrc

Thanks
 
Old 07-30-2004, 07:09 PM   #5
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
that file does exist in the path

/usr/libexec/openssh/

so is it a permissions problem?

Thanks
 
Old 07-30-2004, 07:27 PM   #6
lyar1031
Member
 
Registered: Jul 2004
Posts: 54

Original Poster
Rep: Reputation: 15
Ok do I need to add a directory in which you ftp to

Ex:
/home/<username>/ftp?
 
  


Reply


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
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM


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

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