rsync backup to Synology NAS

vzbptbcs

Dabbler
Joined
Oct 11, 2020
Messages
13
Hello,
currently I try to setup an rsync job to backup my files from TrueNAS to a remote Synology NAS that is connected to my network through a VPN.

I found this guide: https://www.mattwall.co.uk/2016/04/03/rsync-to-synology-from-freenas.html

He is creating the SSH key with 'ssh-keygen' on the TrueNAS command line.
I generated the key through the GUI since someone told me in the past "In FreeNAS you should do everything in the GUI".

If I try to create the rsync job I get the following message:
"In order to use rsync over SSH you need a user with a private key (DSA/ECDSA/RSA) set up in home dir."

Have I done anything wrong? Is it possible to use the key generated by the GUI?
Where is it stored? Should I just symlink it to /root/.ssh/id_rsa?

Why is there a possibility to create SSH keys in the GUI when I can't select them in rsync tasks?
 

ChrisRJ

Wizard
Joined
Oct 23, 2020
Messages
1,919
This is a topic that is in no way specific to rsync. Your favorite search engine will provide you with plenty of information on the subject. I would suggest something like "ssh key based authentication" as a search term.

Alternatively, if your connection is secured by VPN anyway, it might be an alternative to use rsync without SSH. Also on that the Internet has loads of information.
 

vzbptbcs

Dabbler
Joined
Oct 11, 2020
Messages
13
Actually I know what key based authentication is. Please read again.
The question is, why I can't use the keys generated in the GUI.
 

djb

Explorer
Joined
Nov 15, 2019
Messages
76
@vzbptbcs , Please see updates on this thread we faced the same issue. The issue is on synology side.

 
Top