• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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