Wednesday, October 18, 2017

strato hidrive - no matching cipher found.

in case you get  errors like...

rsync -a myfile user@rsync.hidrive.strato.com:users/user 
Unable to negotiate with 85.214.3.70 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]

or

scp myfile user@scp.hidrive.strato.com:users/user
Unable to negotiate with 85.214.3.70 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,blowfish-cbc
lost connection

put this into you ~/.ssh/config

host strato-scp
        hostname scp.hidrive.strato.com
        Ciphers aes128-cbc
        MACs hmac-sha1
        KexAlgorithms diffie-hellman-group1-sha1
        HostKeyAlgorithms ssh-rsa
host strato-rsync
        hostname rsync.hidrive.strato.com
        Ciphers aes128-cbc
        MACs hmac-sha1
        KexAlgorithms diffie-hellman-group1-sha1
        HostKeyAlgorithms ssh-rsa

And then connect with

rsync -a myfile user@strato-rsync:users/user
scp myfile user@strato-scp:users/user

No comments: