rsync / ssh -i
John Van Essen
vanes002 at umn.edu
Fri Dec 5 23:27:15 EST 2003
On Thu, 4 Dec 2003, Michael <lists at digitalplace.org> wrote:
> I know that with ssh I can issue the -i command to use a different identity.
> Is there anyway to use the -i command with rsync and ssh? Thank you.
>
> Michael
In addition to what Martin suggested, you can also include the -i option
and its argument in rsync's -e option argument:
rsync {options} -e 'ssh -i /path/to/identity' {source} {dest}
I use this form quite frequently in scripts.
--
John Van Essen Univ of MN Alumnus <vanes002 at umn.edu>
More information about the rsync
mailing list