Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I usually get to the RH7.1 machine at the university using ssh from other computers.
It went everything ok till today. I was using a win2000, I executed ssh and managed to see the console but when I tryed to open the file transfer window it gave me the following error:
Exit value 0 was returned. Most likely the sftp-server is not in the path of the user on the server-side.
Does that mean that there is an executable called sftp-server that I have to add to my user PATH?. Did I somehow delete it, or can it be a different error? Sorry, I don`t know so much about networks.
One other application called putty works fine but I don't know why doesn't work with ssh.
if you have a look in /etc/ssh/sshd_config (or a similar location) you should have a variable sftp-server set to the location of the binary, check that exists...
well, I think there isn't any sftp-server variable or similar, pointed to /usr/libexec/openssh/sftp-server (this is the binary isn't it?). the only thing I can find is this line in sshd_config (I don't know what does it mean):
Subsystem sftp /usr/libexec/openssh/sftp-server
should I add a variable called sftp-server pointed to the binary?
I have that same problem on a few machine from some time now.
on one, sftp never worked. on another, sftp worked once, then the machine was rebooted and it desn't work aynmore. on a third, it worked straight away and still does.
on either, when running the exec locally, I get no error. sftp-server is started, but the problem is still the same.
on the first machine (where sftp never worked), I get a slightly different window requesting my password , but once the password is given there's another dialog saying "enter your authentication response", to which you can say either yes or no. this isn't much of a problem, but it bores me (so if you have a clue, oh yes please tell me)
argh, I whish I had some kind of error... (don't we always do)
by luck I must say, I wasn't looking for it anymore
Quote:
A common mistake which can cause such a crash is that the server prints some text in its login script. This will be printed in an SFTP session too, and will confuse PUTTY because it expects special connection bytes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.