this post was submitted on 17 Sep 2026
1093 points (98.8% liked)

Programmer Humor

33320 readers
1049 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] thevoidzero@lemmy.world -1 points 1 week ago (2 children)

If you only know private key and not public key then isn't it the same as only knowing public key? I thought those were interchangeable

[–] minfapper@piefed.social 14 points 1 week ago (1 children)

You can derive the public key from the private key

[–] mcheva@lemmy.dbzer0.com 4 points 1 week ago (1 children)

How? Can you give me the commands I've seen it mentioned here a few times I want to try it.

[–] zorro@lemmy.world 9 points 1 week ago* (last edited 1 week ago)
ssh-keygen -y -f ~/.ssh/id_rsa

ssh-keygen (1)

[–] coriza@lemmy.world 2 points 1 week ago

I thought that too but they are not. I discovered that recently learning and configuring wireguard.