Contents
What can someone do with my ssh key?
If your private key has been compromised, someone may be able to login to your computer, if the corresponding public key is in your authorized_keys file. This might be hard as well, since private keys are usually encrypted and you need to put a password in order to decrypt it.
Can you change your public key?
Yes it is possible, but not 100%. The public key is a part of the private key. It contains the modulus and the exponent of the key. You can completely forget changing the modulus, because you would have to generate a new rsa keypair, which is the same problem as the one we are trying to solve.
Should I reuse SSH keys?
Your private key is never sent to the other site so it’s perfectly safe to reuse the public key. It’s also OK to reuse the same key your local computers. However, bear in mind that if someone steals the key, they then have access to all of them.
Is it safe to share RSA public key?
2 Answers. Yes, it is impossible to recover the private key from the public key. If it was possible, RSA would be fundamentally broken, and this would be major news (breaking RSA would not only break a lot of Internet communication security, but also allow all kinds of banking fraud, amongst others).
Is it possible to recover private key from public key?
Yes, it is impossible to recover the private key from the public key. If it was possible, RSA would be fundamentally broken, and this would be major news (breaking RSA would not only break a lot of Internet communication security, but also allow all kinds of banking fraud, amongst others).
What’s the difference between public and private keys?
The other key is known as the private key. Data encrypted with the public key can only be decrypted with the private key, and data encrypted with the private key can only be decrypted with the public key. Public key encryption is also known as asymmetric encryption. It is widely used, especially for TLS/SSL, which makes HTTPS possible.
What happens if someone steals your private key?
If you copy your public key to ten servers, and someone steals the private key (possibly by hacking into your desktop system, or physically purloining it), then that someone gains immediate access to the ten servers in one go. Private keys are valuable.
How does a public key affect your privacy?
A public key introduces an element of privacy exposure: if someone knows that you’ve used the same public key to log into A and to log into B, they know the same person logged into A and B. Merely possessing the public key makes you a suspect that you also have the private key, so you lose some anonimity.