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/id_rsa.pub.
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/id_rsa.pub
copy the pubic key in your Apanel SSH manager under the "Public SSH key" field.
you can now connect ssh to your account:
> ssh nom_utilisateur_console@nom_de_domaine.ch
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..
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.
Article ID: 130, Created: 4/25/2018 at 9:35 AM, Modified: 4/25/2018 at 9:39 AM