Skip to content

VPS: Create and Use SSH Keys for Linux Servers

Learn how to securely generate and manage SSH keys for your Linux server to improve connection security and control → Find out more

10 November 20263 min read0 Views0 helpful

Generate an SSH Key

For a much more secure connection than the traditional SSH password connection, we recommend using SSH keys. To get started, open the "Access" tab in your Linux server dashboard.

Under "Access", you can now create or add a key using the "Add SSH Key" button. A dialog will open where you can select a key already saved in your account, generate a new key pair directly in your browser using "Create New Key Pair", or add an externally generated public key using "Upload Public Key".

If you create a new key pair, the private key is displayed only once and must be downloaded or copied at that point—ZapX never stores private keys. Then confirm that you have saved the private key and close the dialog by clicking "Done".

Info

Changes are written directly to the running server's authorized_keys file. The server must be running and the Guest Agent must be reachable. If you reinstall the operating system, assigned keys are added again automatically.

If you need more keys, simply repeat the process using "Add SSH Key". When creating a new key pair or uploading a public key, you can give it a name that will be displayed in the ZapX dashboard for easier organization.

Once all the keys you need have been generated and added, they will appear in the table under "Access".

Your keys are stored centrally in your account and can also be managed directly under Settings → SSH Keys (click the "Manage Keys in Account" button in the VPS Access view).

FAQ

Frequently asked questions

In the Access tab of your Linux server dashboard, click 'Add SSH Key'. You can create a new key pair, select a saved key, or upload a public key.
No. Private keys are never stored. When you create a new key pair, the private key is shown only once so you can download or copy it.
Yes. Assigned keys are added again automatically after an operating system reinstall. For changes to a running server, the server must be running and the Guest Agent must be reachable.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.