rsync / ssh -i

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


On  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.

Use the IdentityFile and Host keywords in your ssh_config:

  Host suzy-alt-key
  HostName suzy.foo.org
  IdentityFile ~/.ssh/id_some_other_dsa

-- 
Martin 
                               linux.conf.au -- 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 : http://lists.samba.org/archive/rsync/attachments/20031205/78b29fed/attachment.bin


More information about the rsync mailing list