BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] hosts.equiv
- Subject: [Discuss] hosts.equiv
- From: jdm at moylan.us (dan moylan)
- Date: Mon, 19 Jun 2023 11:50:12 -0400
On Mon, 19 Jun 2023 10:03:49 daniel barrett wrote: >On June 18, 2023, dan moylan wrote: >> moylan cmd[448] ssh -p22 -i /home/moylan/.ssh/rsync.key moylan at aldeberan >> works without asking for a password. >> >> moylan cmd[449] rsync -r -e ssh -i /home/moylan/.ssh/rsync.key >> /home/moylan/foo moylan at aldeberan: >> asks for a password. > I wonder if, in your rsync command, the -i option is being passed to > rsync rather than ssh, so rsync.key isn't being used. > Instead of passing SSH options on the rsync command line, create a > configuration for your remote host by adding this to ~/.ssh/config: > Host funky > Hostname albeberan > User moylan > IdentityFile ~/.ssh/rsync.key > IdentitiesOnly yes > Then run: > $ rsync -r -e ssh /home/moylan/foo funky: > See if that helps. not sure if i quite understand. the remote host to which i'm trying to send the file is aldeberan. i would think the command should be: $ rsync -r -e ssh /home/moylan/foo aldeberan: who is funky? tia, ole dan j. daniel moylan 84 harvard ave brookline, ma 02446-6202 617-777-0207 (cel) jdm at moylan.us www.moylan.us [BLM]
- Follow-Ups:
- [Discuss] hosts.equiv
- From: dbarrett at blazemonger.com (Daniel Barrett)
- [Discuss] hosts.equiv
- Prev by Date: [Discuss] hosts.equiv
- Next by Date: [Discuss] hosts.equiv
- Previous by thread: [Discuss] hosts.equiv
- Next by thread: [Discuss] hosts.equiv
- Index(es):