4 ms·
There are none. In fact yours is already public: https://github.com/bshep.keys https://github.com/bshep.keys
by theblazehen 4y ago
There are none. In fact yours is already public: https://github.com/bshep.keys https://github.com/bshep.keys
- bombcar 4y agoThere is technically one minor one, which really isn't one - but you should be aware of. Someone can take your authorized keys and add them to a box they control, and trick you into logging in. However, this would trigger the "new host" warning SSH gives you, and you can minimize this by minimizing which hosts you allow your private keys to be used on. And if someone is so actively trying to attack you they probably have more direct methods available.
- dcow 4y agoWhat? How? What does putting my authorized keys file on another host do in terms of tricking me to log in? Authorized keys only matters on the host you are using when you type `ssh <some.host>`. The ssh client compares the public key of the remote host to the list in your `authorized_keys` file and, only if there is a match, skips serving you TOFU. EDIT: I mixed up authorized_keys and known_hosts. But, the remote server doesn't need your authorized_keys file to grant you access so not sure the visibility of authorized_keys matters.
- cubesnooper 4y agoYou’re thinking of known_hosts, not authorized_keys.
- lapser 4y agoThis wouldn't matter anyway because the server can just give you access regardless of the auth provided.
- bombcar 4y agoI know you can restrict the methods on the client (and which keys you use) but can the client determine the host actually used it?