Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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.

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

2 Answers 2

up vote 7 down vote accepted

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

share|improve this answer
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.) –  David Schwartz May 8 '12 at 2:13
    
@DavidSchwartz Good point. –  EEAA May 8 '12 at 2:16

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.