Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
simple ssh pub key question [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Jun 26, 2008 5:19 am    Post subject: simple ssh pub key question [SOLVED] Reply with quote

I have a groups of Linux and Windows boxes, all running openssh (sshd), and want to have all authentication between them be via public-key. However, I'm not just logging in from a solitary host to these machines, but also leapfrogging from one to another, back and forth, etc. My question is: Can I generate one single key pair (e.g., id_rsa and id_rsa.pub) at one given (arbitrary) machine, and then add the same id_rsa.pub key to my ~/.ssh/authorized_keys files of all of the machines? Would that give me pubkey access between any given pair of machines? Or do I have to generate separate keypairs at each machine, and then copy each given public key to ~/.ssh/authorized_keys of each machine in turn? Thanks in advance ...

Last edited by rsa4046 on Thu Jun 26, 2008 12:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Thu Jun 26, 2008 7:35 am    Post subject: Reply with quote

You can use one private/pub key for all, of course. Wether that's the most secure way to go about things is another matter.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Thu Jun 26, 2008 12:36 pm    Post subject: Reply with quote

Thanks frostschutz
Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum