Bless my programming-mentors for telling me about ~/.ssh/config

  • 1
    IdentityFile ~/.ssh/key
  • 0
    @kescherRant IdentityFile ~/.ssh/lock 😛
  • 4
    Even though it's useless, I give every server it's own keypair.
  • 5
    @LinusCDE I disagree, one compromised key means one server to fix
  • 4
    @alexbrooklyn I disagree with your disagreement.
    When se public key leaks, nobody can fake you (for that you have a private key).
    And if somebody gains access to your private key, he probably has also access to all other keys in the same directory.

    Only helpful thing is to prevent fingerprinting you, as having the same key everywhere is kinda like an email. Providers could compare those (or hashes of them) if they wanted to.
  • 1
    @LinusCDE Hey that sounds like it makes sense
Add Comment