rsync / ssh -i

Martin Pool mbp at
Fri Dec 5 11:41:38 EST 2003

On  4 Dec 2003, Michael <lists at> 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.

Use the IdentityFile and Host keywords in your ssh_config:

  Host suzy-alt-key
  IdentityFile ~/.ssh/id_some_other_dsa

                      -- Adelaide, January 2004
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url :

More information about the rsync mailing list