Hello,

I use dirvish to backup a synology NAS. dirvish is running on a linux PC
and connects the NAS via ssh. This did work fine for several months. But
now the operating system of the NAS (called DSM) was updated from 5.0 to
5.1 and dirvish cannot connect to it anymore.

The first problem was, that the blowfish cipher was not supported by the
sshd of the NAS anymore. Following this howto...

> http://blog.millard.org/2014/11/repair-synology-dsm51-for-use-as-linux.html

... I inserted the following two lines into the /etc/ssh/sshd_config of
the NAS:

> KexAlgorithms 
> diffie-hellman-group1-sha1,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
>                                                                               
>   
>                                                                               
>                                                                               
>                                                                               
>                                      
> Ciphers 
> aes128-cbc,blowfish-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],[email protected]
>                                                                               
>                                             

Now a manual "ssh -c blowfish root@nas" to the NAS works fine again by
login via the ssh-key way.

But dirvish still does not work. I get the following message in the
"rsync_error" file of the backup directory:

> *** Execution cycle 0 ***
> 
> Permission denied, please try again.
> rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
> rsync error: error in rsync protocol data stream (code 12) at io.c(226) 
> [Receiver=3.1.1]

(this is repeated 4 times (until "cycle 4").

Does anybody have an idea what might be the problem? Why is the root
user of the linux PC able to log into the NAS, but dirvish that is
running as root, is denied?

Greetings
Arno
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to