[network] what is SSH protocol?

숭글·2022년 7월 22일
0

SSH(Secure Shell) is a network protocol that gives a secure way to access a computer over an unsecured network.

provides strong password authentication and public key authentication, as well as encrypted data communications between two computers connecting over an open network, such as the internet.

How does a Secure Shell work?

SSH use both Symmetric Encryption and Asymmetric Encryption.

In asymmetric encryption.

client request to start connection,
server sends Random msg to client.
then client encrypt a received msg using the public key client have.

after receive encrypted msg from client,
server decrypt the msg using private key.
then compare the decrypted msg to original msg.

if those two msg are exact same, server consider that client's public key and server's private key are pair and authenticates the user.

once verification is over well, client and server exchange thier keys to communication.

profile
Hi!😁 I'm Soongle. Welcome to my Velog!!!

0개의 댓글