Security

What is the role of an SSH key?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Wikipedia definition : SSH uses public-key cryptography to authenticate the remote computer and allow it to authenticate the user. Two keys are created, private is stored inside user's computer to decrypt the communication then the public key is stored inside the remoted computer where user want to connect with and it is used to encrypt the communication.