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

  • variantsEnglish
    arrow-up
    42
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

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

    • SidewaysHighwaysOPEnglish
      arrow-up
      32
      arrow-down
      0
      ·
      28 days ago
      link
      fedilink

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

  • brickloveEnglish
    arrow-up
    18
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

    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

    • 0x0English
      arrow-up
      5
      arrow-down
      0
      ·
      27 days ago
      link
      fedilink

      frustrated debugging log message

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

  • DrusenijaEnglish
    arrow-up
    16
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

    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 😂

  • GBU_28English
    arrow-up
    15
    arrow-down
    0
    ·
    27 days ago
    link
    fedilink

    That would be a rare, shiny PEM

  • cybersandwichEnglish
    arrow-up
    14
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

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

        • DrusenijaEnglish
          arrow-up
          4
          arrow-down
          0
          ·
          28 days ago
          link
          fedilink

          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.

    • talEnglish
      arrow-up
      10
      arrow-down
      1
      ·
      28 days ago
      link
      fedilink

      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.

  • catloafEnglish
    arrow-up
    11
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

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

    • SidewaysHighwaysOPEnglish
      arrow-up
      10
      arrow-down
      7
      ·
      28 days ago
      edit-2
      28 days ago
      link
      fedilink

      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?

  • GammaEnglish
    arrow-up
    8
    arrow-down
    0
    ·
    27 days ago
    link
    fedilink

    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.

  • GrassEnglish
    arrow-up
    5
    arrow-down
    0
    ·
    28 days ago
    link
    fedilink

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

    • 0x0English
      arrow-up
      2
      arrow-down
      0
      ·
      27 days ago
      link
      fedilink

      Should’ve been ‘bunny’.

  • abff08f4813cEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    24 days ago
    link
    fedilink

    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