Unable to connect to the Plesk server via SFTP

Are you unable to connect to the Plesk server via SFTP? We can help you.

At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.

Let’s take a look at how our Support Team help a customer  deal with this Plesk error.

How to fix unable to connect to the Plesk server via SFTP?

Plesk for Windows supports Microsoft SQL and MySQL.

The Plesk Platform includes extensions for Backup, DNS, Cloud, Security, and Server Tools.

And its control panel allows its users to set up new websites, reseller accounts, email accounts, edit and create DNS entries, and many more, through a web-based interface.

SFTP is a network protocol that provides file access, file transfer, and file management over any reliable data stream.

SFTP allows businesses to securely transfer billing data, funds and data recovery files.

Typically, below error is shown in an FTP client:

Received unexpected end-of-file from SFTP server

Issue occurs due to incorrect value of the Subsystem parameter in the SSH configuration.

#grep Subsystem /etc/ssh/sshd_config
Subsystem sftp /usr/libexec/openssh/sftp-server

Today, let us see the simple steps followed by our Support Techs to resolve it:

1. Firstly, connect to the server via SSH

2. Then, replace the necessary value:

for i in $(grep Subsystem /etc/ssh/sshd_config | awk '{print $3}'); do sed -i 's|'"$i"'|internal-sftp|g' /etc/ssh/sshd_config; done

3. Finally, reload the SSHD service:

service sshd reload

[Need a solution to another query? We are just a click away.]

Conclusion

Today, we saw steps followed by our Support Engineers to resolve SFTP error while connecting to plesk server.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED