Hetzner storage box - handshake failed

you are using two different directory names, which one is correct?
-media
or
media

if you using SFTP on a hetzner storagebox, then for remote = , remove the forward slashes in the path.

this is what my hetzner sftp remotes looks like

[hetznersbox01_sftp]
type = sftp
host = uxxxxxx.your-storagebox.de
user = uxxxxxx
port = 23
key_file = /root/.ssh/id_ed25519
md5sum_command = md5 -r
sha1sum_command = sha1 -r
shell_type = unix

[hetznersbox01_sftp_crypt]
type = crypt
remote = hetznersbox01_sftp:store
password = xxx
password2 = xxx