error: subsystem: cannot stat /usr/libexec/openssh/sftp-server
I have a RHEL 6.3 box running OpenSSH 5.3.
The box is set up as an SFTP server. I am using keypair and password authentication. When I attempt a connection, I always get the following error in /var/log/secure:
error: subsystem: cannot stat /usr/libexec/openssh/sftp-server: No such file or directory
I have verified that the file exists, and is executable by everyone.
I've also attempted moving the file to another location and updating my sshd_config file, and still got the error, but with the updated path.
I have updated OpenSSH to v5.3, and I'm still getting the same error.
When I attempt to connect from another linux box using the sftp command, I get the following error:
subsystem request failed on channel 0
Couldn't read packet: Connection reset by peer
However, if I attempt to connect using either Filezilla, or putty's psftp software, the connection is successful and I'm able to use the sftp server.
The file not found error on the subsystem file still occurs in the secure log, however.
Unfortunately, I can't just suggest another client in this case, since our client needs to script out automatic loads of a file via the command line sftp client.
I've searched google for hours and can only find folks who haven't verified file location, which was the first thing I checked.
Any assistance or guidance is very much appreciated!
Last edited by earwaxntoast; 03-06-2013 at 04:44 PM.