Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thank you for putting this together - the complete overview is very useful and (mostly) well written :-)
Let me point out an error regarding asymmetric encryption: “This is a one-way ability, meaning that the public key has no ability to decrypt the messages it writes, nor can it decrypt anything the private key may send it.”
The first part is correct: You cannot use any of those two keys to decrypt a message encrypted with the same key.
The second part is wrong: You can use either of those keys to decrypt a message encrypted with the other one.
Another correction: hashing is not “a form of encryption” at all.
Excellent explanation! Very well written and informative. I use SSH regularly and I’m the kind of guy that always wants to know the detailed inner workings of how things behave. Thank you very much.
Very nice article, this is really well-written. Helped me understand the distinction between the various cryptographic techniques that go into securing SSH.
I was hoping for some clarification on asymmetric keys. You use the public key to encrypt and the private key to decrypt. But can the opposite happen. Can you encrypt using the private key and decrypt it with the public key using the same key pair for both scenarios.
“5 If the client actually has the associated private key, it will be able to decrypt the message using that key, revealing the original number.”
on 5 above, it says that “if the client actually has the associated private key, it will be able to decrypt the message using that key, revealing the original number.”
But my question is what if the client only has the public key, what happens? Or does the client somehow need to get the private key?
tks
Thank you very much for article! I was looking for such clear description of how SSH works.
would there be two different encryptions used for upload and downward stream of data in SSH. I see that two ciphers are set cipher.s2c and cipher.c2s during the process .
What I would like to know is: How important is the key length for the pub/private key used for authorization? I understood that it is only used to decrypt a message which was previously encrypted with the private key. It will then be combined with a session key to be send back as an MD5 sum… How important is the use of 2048 bit keys or even higher for authorization? My understanding is, that the length does not really matter, since it is only used to prove that you are you. Is that correct?
Thanks for the article. On 6. The client combines the decrypted number with the shared session key that is being used to encrypt the communication, and calculates the MD5 hash of this value. Any reason why the client combines the decrypted number with session key to calculate md hash? Why not calculate md hash directly for the decrypted value?