logoalt Hacker News

wolvoleo • yesterday at 11:25 PM • 3 replies • view on HN

Yes, as the attacker normally won't have the public part of the key pair, they have nothing to crack.

I would stop publishing them on eg GitHub etc but I've never done that anyway.


Replies

sva_ • today at 12:04 AM

Hope you don't use ssh-agent (I don't)

noodletheworld • yesterday at 11:43 PM

It depends; you don't reuse ssh keys right? That would be lazy and bad.

If you did for example, use the same key for github and login, anyone could access your public keys on this unauthenticated url:

https://github.com/yourname.keys

➕ show 2 replies
drum55 • yesterday at 11:35 PM

Github has always published all keys for all users though, it's the source of some really stupid vulnerabilities that they seem to think "public key" means "should be public".