5

If I have many public ssh keys.

Is a good idea show all of my public keys in web page?
maybe a gist or similar .

EDIT

my problem is : when I create a new server, I have to manually copy the keys.

4
  • good idea ? That entirely depends on why you want people to have your public ssh keys.
    – Sirex
    May 8, 2012 at 1:53
  • Join the crowd: gist.github.com/gists/search?q=ssh+public+key&page=1
    – cjc
    May 8, 2012 at 1:55
  • @cjc , this guys share one key, I talk of the all of my keys
    – JuanPablo
    May 8, 2012 at 1:58
  • 1
    Make sure you don't ignore any "HOST KEY IS DIFFERENT!1!" messages you get from your SSH client though. May 8, 2012 at 2:47

2 Answers 2

8

Sure, share away. There's a reason they are called public keys.

2
  • 3
    Unless there's some specific reason you don't want anyone to know that a particular public key is yours, there's no reason to keep them secret. (For example, one reason might be if you have access to a very critical machine and fear a $5 wrench attack.) May 8, 2012 at 2:13
  • @DavidSchwartz Good point.
    – EEAA
    May 8, 2012 at 2:16
1

yes you can share your public key, it only can be used by you and nobody else as you the only one who has private key and without that key public key is useless, so you can share with everyone it makes no difference to you if someone else got it unless you have private key.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .