Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- reversed ssh key sharing?
September 21, 2005, 6:10 pm
rate this thread
Is it possible to do a reversed key sharing? Here is what I mean...
Say I have machines hurl & burl. Generally I'd need to copy my
id_dsa.pub key from hurl to burl so that I can ssh from
hurl to burl w/o password.
Is it possible for me to get burl's private/public key to hurl,
and use those keys to ssh to burl?
If so how?
Re: reversed ssh key sharing?
What you (seem to) want is easy, but don't use that term for it - it makes no
sense, and requires neither reversing nor sharing.
Don't think of keys as belonging to machines. They belong to an identity.
authorized_keys can contain multiple public keys, all of which correspond to
identities allowed to login as that user.
In your scenario, you can copy your private key from burl to hurl (name it
burl_id for clarity), make sure the matching public key is in authorized_keys
on burl, and use 'ssh -i burl_id burl' to connect.
It's not clear that this is the best way to do anything, though. You didn't
describe your underlying problem, so I can't guess what you're really trying
Mark Rafn email@example.com <http://www.dagon.net/
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum