2 ms·
I'm confused. Would this mean I could just grab anybody's public key and log in - as them - to a service that supported this?
by talleyrand 11y ago
I'm confused. Would this mean I could just grab anybody's public key and log in - as them - to a service that supported this?
- brutos 11y agoNo, you would need to have their private key.
- pluma 11y agoNo, you could just grab anybody's public key to verify their login (when they use their private key). SSH keys are asymmetric. Think of public keys as locks and private keys as ... well, keys. You hand out copies of the lock but you keep the key to yourself. Anyone can put a lock on a box and know you're the only one who can open it. You tell them what lock to use and then use your key to open it to show them you are who you claim to be.