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

  • @cybersandwich
    link
    English
    142 months ago

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

    • @[email protected]
      link
      fedilink
      English
      92 months ago

      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.