Rsync Task: How to specify different remote username?

Status
Not open for further replies.

jbee

Cadet
Joined
Oct 25, 2013
Messages
2
Hi,

I want to sync my FreeNAS box with a remote Linux server. Although I put the keys where they belong on both sides and was able to establish an SSH connection manually, the task still throws a
rsync: Permission denied (publickey,password).^M
in the log. I suspect that this is because the local user running the task has a different name than the remote account. How/where can I specify the remote username?
 

Dusan

Guru
Joined
Jan 29, 2013
Messages
1,165
You can't. You have to use the same username on both systems.
 

fracai

Guru
Joined
Aug 22, 2012
Messages
1,212
You could always write the rsync task as a CRON job instead. Then you could specify the local user to run and the remote user to connect as.
 
Status
Not open for further replies.
Top