[opensuse] sftp-server problem on OpenSUSE 11?
Hi all, I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it? Thanks. Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 18, 2010 at 11:21:40AM -0400, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
It works fine for me on 11.2-x86_64. Did you select chrooted usage or something else special? Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 18, 2010 at 11:34 AM, Marcus Meissner
On Tue, May 18, 2010 at 11:21:40AM -0400, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
It works fine for me on 11.2-x86_64.
Did you select chrooted usage or something else special?
Ciao, Marcus
Thanks, Marcus! No, I didn't do anything special, nor do I want to. I just want it to work like it does on all other Linux machines we've got (and we have Centos 5, Ubuntu 9-10, OpenSUSE 10, SLES 10). Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support. Verify that sftp-server exists on your system. -- _____________________________________ At one time I had a Real Sig. Its been downsized. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 18, 2010 at 12:34 PM, John Andersen
On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config
You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server
The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support.
Verify that sftp-server exists on your system.
-- _____________________________________ At one time I had a Real Sig. Its been downsized.
Thanks John, very good point - but my system is 64 bit, I have verified this, the sftp-server executable is there and looks OK. Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 5/18/2010 12:35 PM, Boris Epstein wrote:
On Tue, May 18, 2010 at 12:34 PM, John Andersen
wrote: On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config
You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server
The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support.
Verify that sftp-server exists on your system.
-- _____________________________________ At one time I had a Real Sig. Its been downsized.
Thanks John, very good point - but my system is 64 bit, I have verified this, the sftp-server executable is there and looks OK.
Boris.
I think All we can ask is, In what way(s) are you modifying the system from a stock install? I reject the implication that there is something odd about the way opensuse installs ssh or sftp. Not only do I myself use sftp between several different OS's and softwares, includng several different versions and platforms of opensuse, windows with filezilla, psftp, & cygwin, other linux like ubuntu, freebsd solaris, and sco open server without a problem, I don't remember even hearing of anyone else having a problem that was in any way mysterious. (ssh not installed, ssh not opened in the firewall, self-inflicted config edits) Except one time when I had to go out of my way to break it myself. I copied a single standard sshd_config file from one box to many other boxes. Since some boxes were 32 bit and some were 64, and the path to sftp-server is hard coded in the config with a full explicit path which is different for 32bit vs 64bit, and the source box weas 32, sftp stopped working on all the 64bit boxes. As you can see, I had to deliberately break that by overwriting sshd_config in an unusual way. So. In what way(s) are you modifying the system after install that might have anything to do with ssh or users login accounts? Or, rather than guessing, what does syslog say? What does syslog say after uncommenting and setting LogLevel to the various options mentioned in "man sshd_config" and restarting sshd? -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, May 18, 2010 at 8:49 PM, Brian K. White
On 5/18/2010 12:35 PM, Boris Epstein wrote:
On Tue, May 18, 2010 at 12:34 PM, John Andersen
wrote: On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config
You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server
The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support.
Verify that sftp-server exists on your system.
-- _____________________________________ At one time I had a Real Sig. Its been downsized.
Thanks John, very good point - but my system is 64 bit, I have verified this, the sftp-server executable is there and looks OK.
Boris.
I think All we can ask is, In what way(s) are you modifying the system from a stock install?
I reject the implication that there is something odd about the way opensuse installs ssh or sftp. Not only do I myself use sftp between several different OS's and softwares, includng several different versions and platforms of opensuse, windows with filezilla, psftp, & cygwin, other linux like ubuntu, freebsd solaris, and sco open server without a problem, I don't remember even hearing of anyone else having a problem that was in any way mysterious. (ssh not installed, ssh not opened in the firewall, self-inflicted config edits)
Except one time when I had to go out of my way to break it myself. I copied a single standard sshd_config file from one box to many other boxes. Since some boxes were 32 bit and some were 64, and the path to sftp-server is hard coded in the config with a full explicit path which is different for 32bit vs 64bit, and the source box weas 32, sftp stopped working on all the 64bit boxes. As you can see, I had to deliberately break that by overwriting sshd_config in an unusual way.
So. In what way(s) are you modifying the system after install that might have anything to do with ssh or users login accounts?
Or, rather than guessing, what does syslog say? What does syslog say after uncommenting and setting LogLevel to the various options mentioned in "man sshd_config" and restarting sshd?
-- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Brian, Yes, we do modify the system from the original install - we put NFS links on it to link it to the file server, NIS for authentication, etc. No we do not modify the SSH config, not in any way I can think of. I will try to play with the syslog, thanks. Maybe that will yield something. Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, May 20, 2010 at 5:55 PM, Boris Epstein
On Tue, May 18, 2010 at 8:49 PM, Brian K. White
wrote: On 5/18/2010 12:35 PM, Boris Epstein wrote:
On Tue, May 18, 2010 at 12:34 PM, John Andersen
wrote: On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config
You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server
The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support.
Verify that sftp-server exists on your system.
-- _____________________________________ At one time I had a Real Sig. Its been downsized.
Thanks John, very good point - but my system is 64 bit, I have verified this, the sftp-server executable is there and looks OK.
Boris.
I think All we can ask is, In what way(s) are you modifying the system from a stock install?
I reject the implication that there is something odd about the way opensuse installs ssh or sftp. Not only do I myself use sftp between several different OS's and softwares, includng several different versions and platforms of opensuse, windows with filezilla, psftp, & cygwin, other linux like ubuntu, freebsd solaris, and sco open server without a problem, I don't remember even hearing of anyone else having a problem that was in any way mysterious. (ssh not installed, ssh not opened in the firewall, self-inflicted config edits)
Except one time when I had to go out of my way to break it myself. I copied a single standard sshd_config file from one box to many other boxes. Since some boxes were 32 bit and some were 64, and the path to sftp-server is hard coded in the config with a full explicit path which is different for 32bit vs 64bit, and the source box weas 32, sftp stopped working on all the 64bit boxes. As you can see, I had to deliberately break that by overwriting sshd_config in an unusual way.
So. In what way(s) are you modifying the system after install that might have anything to do with ssh or users login accounts?
Or, rather than guessing, what does syslog say? What does syslog say after uncommenting and setting LogLevel to the various options mentioned in "man sshd_config" and restarting sshd?
-- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Brian,
Yes, we do modify the system from the original install - we put NFS links on it to link it to the file server, NIS for authentication, etc. No we do not modify the SSH config, not in any way I can think of.
I will try to play with the syslog, thanks. Maybe that will yield something.
Boris.
Hello everybody, here's the latest news as concerns this problem: 1) I tried increasing the log level for sftp-server but nothing gets logged. I don't think the SFTP subsystem ever gets invoked. 2) The problem appears to affect not just the OpenSUSE 11 machines but also Ubuntu 10 ones. Only on our network here. What these machines have in common is that they run SSH servers based on OpenSSH 5.x. OpenSUSE 10 as well as CentOS 5.3 and 5.4 machines which run OpenSSH 4.x seem to have no problem when you try to long into them using SFTP. 3) To emphasize that SFTP problem only occurs on my office network. Outside of it, these is not SFTP problem whether your machine has an OpenSSH 4.x variant or an OpenSSH 5.x variant. Hence the question most likely is: what could it be with this network/setup we've got here at the office that causes this problem? Any thoughts? Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jun 4, 2010 at 10:56 AM, Boris Epstein
On Thu, May 20, 2010 at 5:55 PM, Boris Epstein
wrote: On Tue, May 18, 2010 at 8:49 PM, Brian K. White
wrote: On 5/18/2010 12:35 PM, Boris Epstein wrote:
On Tue, May 18, 2010 at 12:34 PM, John Andersen
wrote: On 5/18/2010 8:21 AM, Boris Epstein wrote:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris.
Take a look in your /etc/ssh/sshd_config
You should have a line like this: # override default of no subsystems Subsystem sftp /usr/lib64/ssh/sftp-server
The actual target on the second line is for a 64bit system. Your target may differ. But if this line is missing or commented out you won't have sftp support.
Verify that sftp-server exists on your system.
-- _____________________________________ At one time I had a Real Sig. Its been downsized.
Thanks John, very good point - but my system is 64 bit, I have verified this, the sftp-server executable is there and looks OK.
Boris.
I think All we can ask is, In what way(s) are you modifying the system from a stock install?
I reject the implication that there is something odd about the way opensuse installs ssh or sftp. Not only do I myself use sftp between several different OS's and softwares, includng several different versions and platforms of opensuse, windows with filezilla, psftp, & cygwin, other linux like ubuntu, freebsd solaris, and sco open server without a problem, I don't remember even hearing of anyone else having a problem that was in any way mysterious. (ssh not installed, ssh not opened in the firewall, self-inflicted config edits)
Except one time when I had to go out of my way to break it myself. I copied a single standard sshd_config file from one box to many other boxes. Since some boxes were 32 bit and some were 64, and the path to sftp-server is hard coded in the config with a full explicit path which is different for 32bit vs 64bit, and the source box weas 32, sftp stopped working on all the 64bit boxes. As you can see, I had to deliberately break that by overwriting sshd_config in an unusual way.
So. In what way(s) are you modifying the system after install that might have anything to do with ssh or users login accounts?
Or, rather than guessing, what does syslog say? What does syslog say after uncommenting and setting LogLevel to the various options mentioned in "man sshd_config" and restarting sshd?
-- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Brian,
Yes, we do modify the system from the original install - we put NFS links on it to link it to the file server, NIS for authentication, etc. No we do not modify the SSH config, not in any way I can think of.
I will try to play with the syslog, thanks. Maybe that will yield something.
Boris.
Hello everybody,
here's the latest news as concerns this problem:
1) I tried increasing the log level for sftp-server but nothing gets logged. I don't think the SFTP subsystem ever gets invoked.
2) The problem appears to affect not just the OpenSUSE 11 machines but also Ubuntu 10 ones. Only on our network here. What these machines have in common is that they run SSH servers based on OpenSSH 5.x. OpenSUSE 10 as well as CentOS 5.3 and 5.4 machines which run OpenSSH 4.x seem to have no problem when you try to long into them using SFTP.
3) To emphasize that SFTP problem only occurs on my office network. Outside of it, these is not SFTP problem whether your machine has an OpenSSH 4.x variant or an OpenSSH 5.x variant.
Hence the question most likely is: what could it be with this network/setup we've got here at the office that causes this problem?
Any thoughts?
Boris.
And here's another update: it appears that OpenSSH 5.x machines are happy if you SFTP into them as a user who is defined locally with a local user directory but not happy if the user happens to have an NFS-mounted home directory on a server. OpenSSH 4.x machines work fine with both categories. Does thing ring anybody's bell? Boris. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 18.05.2010 17:21, schrieb Boris Epstein:
Hi all,
I have a few systems here that are OpenSUSE 11.1 and 11.2 machines. For some reason, while SSH into them works just fine SFTP does not work at all. Looks like the SFTP subsystem in the SSH server (/usr/lib64/ssh/sftp-server) never gets activated properly. Has anybody run into this? How do I fix it?
Thanks.
Boris, I had this just yesterday. I tried to connect from a Win XP laptop with WinSCP 4.17 to my oS 11.2 x86_64 workstation, and I got an error complaining of illegal length of the sftp answer. The same happened after updating to WinSCP 4.27. Using WinSCP in SCP mode instead of SFTP mode worked fine as ususal. Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJL8ts7AAoJEOfJ7bNoiiCNSx8H/14+X5HzVC9isouHjnbwO47t wCjsjUySIFZJCl82Q8P0t0PsEBKlo5smY236c0f/3PsmX8G5CdvOSOPi2TZbWB5o 980P4uakUFFxAhzSQd7PtgJNFGZVOB5uiUMuL2ONMa7rG8Mh5JGFnLdDkbcJLGqA ivfqvb/fU7nmLAji7UNDyo7U0qAUGL4elItLNnWjQuzHdIGOTCula7v1r6cm08Q/ V92xUcmAh61djwhs7rboVEoOcleB3j3MsL0/g9XcJuwvWLrTcvtIpJU9AdnARwq+ In0cNcBHPi2cOnXb/zXkNqZwyF3iax/c9rQtlQeqxrhZtdbC9hNIHb8dkLZjvQk= =C2OH -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Boris Epstein
-
Brian K. White
-
John Andersen
-
Marcus Meissner
-
Werner Flamme