this post was submitted on 17 Sep 2026
1113 points (99.1% liked)

Programmer Humor

33263 readers
1454 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 42 points 1 day 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 1 day 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 23 hours ago (1 children)

You can derive the public key from the private key

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

ssh-keygen (1)

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

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