Support

Akeeba Backup for Joomla!

#42413 cURL Error 2 connecting to remote SFTP server

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
5.4.0
PHP version
8.4
Akeeba Backup version
10.1.0

Latest post by nicholas on Sunday, 02 November 2025 07:45 CST

logowerbung

Regularily we backup the complete website via akeeba pro from strato to our servers (Synology) via SFTP. Since the update to Joomla 5.4.0 it's not possible anymore. The error "cURL Error 2 connecting to remote SFTP server: Failure establishing ssh session: -43, Failed getting banner" occured. At the Strato-Webhost the SFTP-connection is enabled, also the settings at our extern Synology storage. The credentials are set correctly. Why does this error occur and how can we fix it? 

Your help is higly appreciated. 

Regards

Boris

nicholas
Akeeba Staff
Manager

Your Strato SFTP settings have nothing to do with it. You are not connecting to your Strato server over SFTP.

The update to Joomla 5.4.0 also does not have anything to do with it. Joomla has no say on outgoing SFTP connections. The only thing that has control over that is PHP itself.

This problem actually does not come from our software. This is actually PHP on your server (Strato) saying it's unable to access your Synology drive over SFTP. See https://stackoverflow.com/questions/61257397/ssh2-connect-error-starting-up-ssh-connection-43-failed-getting-banner Basically, it's telling you that your Synology server is set up incorrectly, or at the very least PHP (therefore, libssh2 which is used by PHP for SFTP connections) cannot access your Synology server over SFTP.

Is it possible that around the same time you made any changes to Synology and/or your dynamic DNS, or Strato made changes to DNS resolution? Did you make any changes in port forwarding on your network side (where your Synology NAS is installed)?

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!