SSH Key Managment and connect

Linux & Mac
Start a Terminal/console and enter the following command to generate a4096 Bytes SSH key :
> ssh-keygen -b 4096
Follow the onscreen instructions until you see the following:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/username/.ssh/id_rsa):

our identification has been saved in /home/username/.ssh/id_rsa.
Your public key has been saved in /home/username/.ssh/
The key fingerprint is:
Read and  print the public key by using the following command (please replace "username" by your current username:
> cat /home/username/.ssh/

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8teh2NJ42qYZV98gTNhumO1b6rMYIkAfRVazl

copy the pubic key in your Apanel SSH manager under the "Public SSH key" field.

you can now connect ssh to your account:

> ssh
Download putty et puttygen to generate the key and connect SSH.
Use Puttygen to generate a key as follows:
  • In "Number of bits in a generated key", enter 4096
  • Click on Generate (Please move your mouse curson within the window during the operation)
  • Enter a passphrase to password protect your key
  • Save the public key by clicking  "Save private key", name  the resulting file (key.rsa per example)
copy the pubic key in your Apanel SSH manager under the "Public SSH key" field..

Démarrer Putty
In the left pane, click on Session and fill the  "Host name (or IP address)" field with your hostname or ip

in the left pane, click Connection then SSH, then Auth

in the field Private key file for authentification , click Browse, select the previously created kea file, save.

click Open in Putty.