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 17:15:49 -0400
ON Mon, 19 Jun 2023 daniel barrett wrote: > On June 19, 2023, dan moylan wrote: >> On Mon, 19 Jun 2023 10:03:49 daniel barrett wrote: >>> Host funky >>> Hostname albeberan >>> User moylan >>> IdentityFile ~/.ssh/rsync.key >>> IdentitiesOnly yes >>> >>> Then run: >>> >>> $ rsync -r -e ssh /home/moylan/foo funky: >> >> 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? > > "funky" is the arbitrary string defined on the first line of the config: > > Host funky > > The subsequent lines specify what "funky" means: > > Hostname albeberan > User moylan > IdentityFile ~/.ssh/rsync.key > So the command "ssh funky" connects to aldeberan with user moylan and > identify file ~/.ssh/rsync.key. It's like an alias for a remote host > that only ssh knows about and has custom SSH settings. > Looks like maybe you haven't used ~/.ssh/config before? You are in for > a treat! It's a great, time-saving SSH feature. "man 5 ssh_config" for > full details! :-) hot damn, that's slick, lots of simplification has ensued. too soon old, too late smart (or at least knowledgeable). many thanks, ole dan j. daniel moylan 84 harvard ave brookline, ma 02446-6202 617-777-0207 (cel) jdm at moylan.us www.moylan.us [BLM]
- Prev by Date: [Discuss] hosts.equiv
- Next by Date: [Discuss] Debian 12 vs. WSL 1
- Previous by thread: [Discuss] hosts.equiv
- Next by thread: [Discuss] Host filesystem access from KVM guests
- Index(es):