Cannot add SFTP destination

Hello,

While adding SFTP destination, getting the following error:

sh: 1: --port: not found
Host XXX.XXX.XXX.XXX not found in /root/.ssh/known_hosts
can only concatenate str (not “NoneType”) to str [setupSSHKeys]

I checked known_hosts and it’s there, tried to clear it and fill manually - the system creates it’s own and renames mine as known_hosts.old

Could someone suggest what’s wrong here?

Thanks.

still no solution on this, could somebody from CyberPanel team react?

thanks.

Seems you don’t have the right credentials for the server. Check login credentials, update cyberpanel and try.