Tip: Adding SSH keys enhances security and simplifies logging into your server without using passwords.
Open a terminal on your computer.
Run the following command to generate an SSH key:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Follow the instructions and save the key in the default location (usually ~/.ssh/id_rsa
).
Copy the contents of the public key:
cat ~/.ssh/id_rsa.pub
Go to the VPS Panel and log in with your credentials.
Select the server where you want to add an SSH key.
Navigate to the "SSH Keys" menu in the left sidebar.
In the "Name" field, enter a recognizable name for the key (e.g., "My Laptop SSH Key").
Paste the public key (the one you copied earlier) into the "SSH Key" field.
Click "Add" to save the key.
Ensure the new SSH key is now listed among the already added keys.
Note: Keep your SSH keys secure. If a key is compromised, remove it from the panel immediately.
Open a terminal and run the command:
ssh username@IP-address
Replace username
and IP-address
with your server details as shown in the game panel overview.
You should now be able to log in without entering a password.
CTA: Want to simplify server management? Check out our VPS hosting for a secure and fast solution.
Tveka inte att kontakta oss om du har frågor – vi återkommer så snart vi kan.
Kontakta en av våra livechatt-supportmedarbetare för att få hjälp i realtid.
Gå med i vår community på Discord och ställ alla frågor du har.
Vår kunskapsbas innehåller en stor mängd information som kan hjälpa dig att lösa problemet.
Kom igång med din första server idag och få 25 % rabatt. Använd rabattkoden NYKUND25 vid beställning.