«

»

Dec 22

error: subsystem: cannot stat /usr/libexec/sftp-server

Unable to connect SFTP  via FTP client on Plesk server.

FTP logs show following:

Notice

sshd[5869]: subsystem request for sftp error: subsystem: cannot stat /usr/libexec/sftp-server: No such file or directory
As mentioned in the error, file /usr/libexec/sftp-server was not present. 
To fix this problem you can refer to following steps:
1) 

root@office1 [~]#locate sftp-server /usr/libexec/openssh/sftp-server
2) Edit ssh configuration file /etc/ssh/sshd_config and comment 
the line containing "/usr/libexec/sftp-server"

and add new line which
will look like “Subsystem      sftp     /usr/libexec/openssh/sftp-server”


# override default of no subsystems #Subsystem sftp /usr/libexec/sftp-server Subsystem sftp /usr/libexec/openssh/sftp-server
3) reload sshd service


root@server[~]#/etc/init.d/sshd reload

Now try connecting to SFTP. It will work.


contact@webhostingsupport.info

Post to Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>