Are you facing an issue when connecting the Plesk server via SFTP?

Are you facing an issue when connecting the Plesk server via SFTP?

Windows Plesk contributes its support for MySQL and Microsoft SQL. The platform of Plesk includes all the ways of extensions such as server tools, security, cloud, DNS, and backup. The user is allowed to create a few features with the help of a web-based interface such as the creation of DNS entries, edit, email accounts, reseller accounts, and setting up newly created websites.

Why SFTP is necessary for the Plesk server?

Using SFTP, you can process multiple things management of file with data stream, file transfer, and file access. So, conclude it as a protocol available for all network activities. Not only file work, but it also ensures other business activities known for file data recovery, funds, and transferring billing data.

While doing SSH configuration, sometimes subsystem parameters may be included with mistaken values.

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

Here’s a step to solve this issue:

Step 1:
Use SSH for connecting the server and start replacing the values like below-mentioned:

Code:
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
Step 2: Now reload the service of SSHD:

Code:
service sshd reload
Your issue will be solved now! Just do it by yourself without anyone’s help.
Author
kumkumsharma
Views
2,169
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top