Connecting two NAS devices with no password

SYSTEM INFORMATION
OS type and version Debian Linux 11
Virtualmin version No Virtualmin - Using Webmin 1.981

I’m trying to back up my Webmin server to a Synology NAS using rsync. I was able to make the back up work once, but I want it back up as a routine.

I created a Cron job, but I know I’ll need to set up the keys to make all of this work without a password.

Any advice on that? I’ve tried a few commands like this from my Webmin server:

ssh-keygen

ssh-copy-id -i /home/danieladougan/.ssh/id_rsa.pub 192.168.1.4

But this error plagued me:

Could not chdir to home directory /var/services/homes/danieladougan: No such file or directory
sh: line 0: cd: /var/services/homes/danieladougan: No such file or directory

Thanks in advance for any help!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.