• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue sftp-server binary into chroot environment sftp-server binary not found

toomanylogins

Basic Pleskian
After a clean install Ubuntu 16 LTS and Onyx 17.8.11 this is my only issue. I see some others had this problem but no clear answer. From install log

'/lib/x86_64-linux-gnu/libcrypt.so.1' -> '/var/www/vhosts/chroot/lib/libcrypt.so.1'
Trying to install sftp-server binary into chroot environment... Warning: sftp-server binary not found
+ sftp connections will not be available for chrooted accounts

WARNING!
Some problems are found during installation of sftp-server binary into chroot environment(see log file: /var/log/plesk/install/ple
sk_17.8.11_installation.log)

Anyone any idea ?
Thanks
 
Please check that you have uncommented line

Subsystem sftp internal-sftp

in /etc/ssh/sshd_config file. The `internal-sftp` is an in-process sftp server that requires no support files when used with ChrootDirectory.
Restart sshd service after modifications of /etc/ssh/sshd_config
 
The line Subsystem sftp internal-sftp is not present I have the following

Subsystem sftp /usr/lib/openssh/sftp-server

I commented the above and added Subsystem sftp internal-sftp

When I try and connect via winscp using sftp I get error

Cannot initialize SFTP protocol. Is the host running a SFTP server?

I can connect with scp protocol.
 
Last edited:
Back
Top