• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Backup manager: SFTP option unavailable

geehaa

Basic Pleskian
Im trying to enable the SFTP option so i can backup to a different server directly over SSH instead of the obsoleted ftp protocol. I really really dont want to install a ftp service on the remote system for obvious reasons.

is there a way to enable SFTP transfers in the backup manager? is this a hidden feature or is it simply lacking?

please help.
thx!
 
At the moment SFTP is not supported. We have corresponding feature request Allow SFTP for Personal FTP Repository
As an alternative, you can use FTPS on remote server and deny FTP there. Or use Dropbox Backup Extension. Or wait next Plesk release where backup to the clouds willl be supported out of the box.
 
ok... good to hear this will be implemented.
a bit surprised that it isnt by default in this day and age.

nobody uses telnet anymore to login to a server.. right? so why do people still use an ancient, unsecure and bloated protocol like ftp anyway?
ill never understand.
 
not saying ftps is not secure but why would you add all this extra software, layers, firewall rules, certificate management, tcp wrappers, selinux rules, and other configuration to your server if you already have this out of the box with simply installing the default ssh server.. which you would need anyway to remotely log in to your system in the first place and have sftp out of the box with all the benefits from ssh like client certificate authentication without any extra work or extra possible attack vectors or added complexity.
perhaps a matter of taste, but you'd think one would like to keep things as simple and as manageable as possible... no?

anyway, thanks for implementing it soon!
 
Hi,
Which libcurl does sftp backup use? It's not the system curl/libcurl
(Plesk 17.8/ubuntu 16.04 LTS): curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 libssh2/1.5.0
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp)

Trying to use sftp backup
yields:
Error: Failed to list the directory "/" at sftp://xxx.yyy: cURL error (1): Protocol "sftp" not supported or disabled in libcurl

(... but curl/lftp on console work without trouble)

kind regards,
Christoph
 
i'm on Ubuntu 18.04. I recompiled curl with ssh/ssl support, but still got this error:

Error: Failed to list the directory "" at sftp://hostname-data.host: cURL error (1): Protocol "sftp" not supported or disabled in libcurl
Search for related Knowledge Base articles

curl --version
curl 7.64.1 (x86_64-pc-linux-gnu) libcurl/7.64.1 OpenSSL/1.0.2g zlib/1.2.8 libssh2/1.5.0
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets
 
Back
Top