this post was submitted on 17 Sep 2026
1148 points (98.9% liked)

Programmer Humor

33307 readers
67 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
[–] shiftymccool@piefed.ca 45 points 5 days ago (1 children)

Should be private ssh key and public ip address. public key can be derived if necessary and it does you no good to have a key to an unknown door

[–] thevoidzero@lemmy.world -1 points 5 days 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 16 points 5 days ago (1 children)

You can derive the public key from the private key

[–] mcheva@lemmy.dbzer0.com 4 points 4 days 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 8 points 4 days ago* (last edited 4 days ago)
ssh-keygen -y -f ~/.ssh/id_rsa

ssh-keygen (1)

[–] coriza@lemmy.world 2 points 5 days ago

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