Serverspace has added a new Rocky Linux OS
March 12, 2024
Updated March 13, 2024

How to create SSH-key

Control panel FAQ

Let's look at how to create an SSH key, what it is used for and what services it is needed for.

What SSH key is used for?

SSH (Secure Shell Protocol) is a protocol for secure access to remote systems. It belongs to the applied ones along with the following: http, smtp, snmp, FTP, Telnet etc. The protocol operates on port 22; when configuring the ssh protocol, the port can be changed.

Compared to the Telnet protocol, ssh transmits encrypted traffic that is protected by an encryption key.

How SSH key looks like IO


The protocol uses encryption keys to operate and transmit data in encrypted form. Thanks to encryption, an attacker who intercepts a stream of encrypted data will need several years to decrypt it, thereby losing the time the data is up to date, which is why asymmetric encryption is used.

Asymmetric encryption is the use of two keys to encrypt and decrypt data.

An SSH key is a sequence of arbitrary characters. Using it, the data is encrypted and after encryption it is sent to the end node.

Public key – this key encrypts data, it can be transferred to another party who must send encrypted messages/data.

Private key – this key decrypts the data and must be stored in a safe place. It is possible to encrypt a private key by using a passphrase when creating the key.

How to create an SSH key

You can create an SSH key through the Serverspace control panel.
To do this, go to the user settings, then to the SSH keys tab, as shown in the screenshot.

Adding new SSH key IO


Here you can add a key or view existing ones.
If you want to add an SSH key, click on the Add SSH key button, after which a menu will open:

Adding SSH key ALL


In the menu you can add an existing key or generate a new one. To create a new one, specify the name of the key, its format, then click the Create and download button.
After this, your key will be successfully created.

Adding new key - generating new one ALL

The created key can be used during server configuration. In the Access preferences, select the SSH keys option, then check the box which key to use:


Access preferences SSH

5 out of 5
Аverage rating : 5
Rated by: 1
1101 CT Amsterdam The Netherlands, Herikerbergweg 292
+31 20 262-58-98
700 300
700 300

You might also like...

We use cookies to make your experience on the Serverspace better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.