Has anyone else ever seen an SSH key/fingerprint thing string together an actual word? Or how about a curse word? XD
from SidewaysHighways@lemmy.world to selfhosted@lemmy.world on 18 Sep 21:33
https://lemmy.world/post/19924549

I had changed the SSH password on something so I had to dig through my known hosts file, and saw the word FUCK spelled out in there in all caps. I chuckled but am sure there’s an explanation

#selfhosted

threaded - newest

Grass@sh.itjust.works on 18 Sep 21:54 next collapse

not particularly exciting I think I had ‘dog’ one time while distro hopping.

0x0@programming.dev on 19 Sep 11:47 collapse

Should’ve been ‘bunny’.

variants@possumpat.io on 18 Sep 22:09 next collapse

Nice try fbi you’re not getting me that easy to give up my keys

SidewaysHighways@lemmy.world on 18 Sep 22:26 collapse

cmon man i aint never done nothin wrong with nobody’s dang ssh keys. Jus lemme hold em

NorthWestWind@lemmy.world on 18 Sep 22:13 next collapse

New blockchain just dropped

InverseParallax@lemmy.world on 19 Sep 02:35 collapse

Trump’s coin dropped already.

catloaf@lemm.ee on 18 Sep 22:48 next collapse

The explanation is that it’s random. Generate enough random strings and you’re bound to get everything.

SidewaysHighways@lemmy.world on 18 Sep 22:52 collapse

my old technology teacher told me about one time his ssh key was the whole soliloquy from hamlet.

then he turned himself into a fuckin pickle. craziest thing I ever seent

EDIT nvm?

Couldbealeotard@lemmy.world on 19 Sep 09:14 collapse

It was the best of times, it was the blurst of times!?

cybersandwich@lemmy.world on 18 Sep 22:50 next collapse

I think you are obligated to share your entire known hosts file to prove this.

SidewaysHighways@lemmy.world on 18 Sep 22:52 next collapse

hunter2

bungle_in_the_jungle@lemmy.world on 18 Sep 23:22 next collapse

Man this feels like deep lore at this point 😂

Drusenija@lemmy.world on 18 Sep 23:32 next collapse

The part where people share asterisks when they talk about their passwords? Just seems like good security honestly 😂 Glad Lemmy is keeping up with this pinnacle of security best practices.

4am@lemm.ee on 19 Sep 00:44 collapse

RIP bash.org

bungle_in_the_jungle@lemmy.world on 19 Sep 09:05 collapse

Whaaaaat. I had no idea this had disappeared… sad news!

Thankfully it’s archived at least: archive.is/BYZ9l

[deleted] on 19 Sep 00:19 collapse

.

tal@lemmy.today on 19 Sep 00:14 collapse

The ~/.ssh/known_hosts file only contains public keys. I mean, maybe someone doesn’t want to hand out the list of hosts that they talk to, but exposing it doesn’t expose the private keys, which are what you really need to keep secret.

Those are in ~/.ssh/id_rsa or the like, depending upon key type.

Drusenija@lemmy.world on 18 Sep 23:34 next collapse

We had a system at work that generated 4 character alphanumeric reference numbers. Originally to avoid this they just excluded vowels from the letters but eventually they grew enough they ran out of available reference numbers so they added the vowels back in and I had to built the blacklist to avoid stuff like this happening. I reckon I probably tripped every IT filter known to man in a week long period looking for swear words in a variety of languages 😂

bricklove@midwest.social on 19 Sep 03:20 next collapse

I think I got “cunT” once and gave myself a heart attack because I thought I had accidentally committed a frustrated debugging log message to a work repo. I found it while searching for swears but it was in a file I hadn’t changed

0x0@programming.dev on 19 Sep 11:44 collapse

frustrated debugging log message

Just use porn actresses’ names. Or so a friend told me…

GBU_28@lemm.ee on 19 Sep 04:02 next collapse

That would be a rare, shiny PEM

gamma@programming.dev on 19 Sep 12:34 next collapse

I know that “Vanity Addresses” are a common thing for onion sites, and there are tools which generate tons of keys looking for prefixes. I haven’t seen such a tool for ssh host keys though.

DaGeek247@fedia.io on 19 Sep 13:20 collapse

They exist, but they're not nearly as fleshed out as the bitcoin vanity generators are. https://github.com/danielewood/vanityssh-go

abff08f4813c@j4vcdedmiokf56h3ho4t62mlku.srv.us on 22 Sep 21:21 collapse

The explanation is pretty boring. If you look at https://superuser.com/questions/421997/what-is-a-ssh-key-fingerprint-and-how-is-it-generated it's explained that some fingerprints are displayed with Base64, which according to https://en.wikipedia.org/wiki/Base64 allows the use of all 26 letters of the alphabet, and both the complete uppercase and lowercase sets.

So basically it's just random chance that a given fingerprint has some data that shows up as a word.

SSH keys can likewise use base64, e.g. for PEM format, as per https://unix.stackexchange.com/questions/492704/what-encoding-is-used-for-the-keys-when-using-ssh-keygen-t-rsa