View previous topic :: View next topic |
Author |
Message |
rsa4046 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/70975142742fabeb8612b0.jpg)
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Jun 26, 2008 5:19 am Post subject: simple ssh pub key question [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
frostschutz Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9097703434bddef6e5b49c.png)
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Thu Jun 26, 2008 7:35 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
rsa4046 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/70975142742fabeb8612b0.jpg)
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Jun 26, 2008 12:36 pm Post subject: |
|
|
Thanks frostschutz
Cheers. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|