BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] hosts.equiv
- Subject: [Discuss] hosts.equiv
- From: dbarrett at blazemonger.com (Daniel Barrett)
- Date: Mon, 19 Jun 2023 10:03:49 -0400
- References: <ZI9ju5RoVFWkjW+o@deneb2>
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. If it doesn't, then update your ~/.ssh/config entry with: LogLevel DEBUG and see if the output provides any clues. If not, try: LogLevel DEBUG3 for way, way more debug information about what's going on. -- Dan Barrett dbarrett at blazemonger.com
- References:
- [Discuss] hosts.equiv
- From: jdm at moylan.us (dan moylan)
- [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):