• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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