RSYNC over SSH without pw auth

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
Buonasera a tutti! ;)
I have set up some share from automatically backup. I ran a simply script on my Mac that synchronise everything. I have tried to launch the script both from my user (jacopx) and from root. I have noticed that the ROOT communication doesn't not required the password authentication, my personal user instead it asking me the password everytime. Of course I have setup both users with RSA, and the SSH connections work without password. I can't understand with RSYNC no... Help?
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
This solution is not work... :/
 

Jacopx

Patron
Joined
Feb 19, 2016
Messages
367
I have setup everything from zero and I'm sure that the problem is in the procedure of saving public key in user folder, with root works but with the other user won't.
If I paste the key in the GUI or from SSH it won't works!!!

I must write about this issue?

UPDATE: I have solved recreating the dataset user, I'm not sure that is a bug, it could be a permission-related problem...
 
Last edited:

Raul_SU

Cadet
Joined
Apr 17, 2020
Messages
2
If you're having issues just about the user, make sure it is not created in csh (default), make sure to change the shell to zsh, permit sudo and give it all the permissions you require (e.g. write).
 
Top