Get the App
SLTechnology News&Howtos  ›  Servers  › 

What is ssh? Related introduction of ssh

Shulou Source: shulou.com Published: 2022-06-03 06:52:57 10月23日 Update

What the editor shares with you today is what is ssh? Ssh related introduction, I believe many people do not understand, in order to let you know more about ssh, so give you a summary of the following content, let's look down. I'm sure you'll get something.

What is ssh?

SSH (remote connection tool) connection principle: ssh service is a daemon (demon). The system background listens to the connection of the client. The process on the ssh server is called sshd, which is responsible for real-time listening for client requests (IP port 22), including the exchange of public keys and other information.

The ssh server consists of two parts: openssh (providing ssh services) openssl (providing encryption programs)

The client of ssh can connect with XSHELL,Securecrt, Mobaxterm and other tools

The working Mechanism of SSH

When the server starts, it generates a key (768bit public key), and the local ssh client sends a connection request to the ssh server. The server checks the data and IP address sent by the connection point client, confirms the validity, and sends the key (768bits) to the client. In this case, the client combines the local private key (256bit) and the server's public key (768bit) into a key pair key (1024bit) and sends it back to the server. Establish a connection and transmit data over key-pair.

Encryption Technology of SSH

Encryption technology: transmission process, data encryption.

1.SSH1 does not verify the secret key of the client, so it is easy to implant malicious code.

2.SSH2 adds a Diffe_Hellman mechanism to confirm the correctness of the online. Every time the data is transmitted, Server will check the correctness of the data source to avoid hackers.

SSH2 supports RSA and DSA keys

DSA:digital signature Algorithm digital signature

RSA: can be both digitally signed and encrypted

Summary of SSH knowledge

1.SSH is a secure encryption protocol used to remotely connect to Linux servers

The default port of 2.SSH is 22, and the security protocol version is SSH2.

The 3.SSH server mainly consists of two service functions: SSH connection and SFTP server.

The 4.SSH client includes ssh connection commands and remote copy scp commands, etc.

That's what ssh is. The content of the relevant introduction of ssh, after reading, do you have anything to gain? If you want to know more about it, welcome to the industry information!

Tags: Services client server client encryption data key end content transport security public key command tool technology digital digital signature mechanism correctness port Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple OPPO Reno MariaDB MySQL Redmi