One of the features in the ZapX dashboard is the ability to save default SSH keys directly to your account. The benefit: You can select the SSH keys saved in your account settings as defaults when you first install a product or reinstall the operating system. This saves time because you no longer have to set up your SSH keys manually.
To use this feature, you must have generated an SSH key. If you already have an SSH key, you can skip to the next section.
To create an SSH key, go to the Access section of your VPS in the ZapX dashboard.
Click Add SSH Key. In the dialog, you can add an existing public key by clicking Upload Public Key, or create a new key pair directly in your browser by clicking Generate New Key Pair. If you generate a new key pair, your SSH private key will be displayed once so you can download or copy it. You will use this key later to connect to your server via SSH.
Make sure to store the downloaded SSH private key securely. ZapX never stores private keys and displays generated private keys only once for download.
When you're ready, continue to the next section.
Managing your default SSH keys in your account is easy. In the ZapX dashboard, go to Settings → SSH Keys.
To add a new key, click Add Public Key to add an existing public key, or Create Key Pair to generate a new key pair directly in your browser. Choose a suitable name for your SSH key.
Your SSH public key should be in OpenSSH format, for example, starting with ssh-ed25519 or ssh-rsa.
Make sure you enter your SSH public key, not your SSH private key. The private key is only used when logging in to authenticate you with your public key.
Use the toggle in the Default for new VPS column to set the key as the default. It will then be selected automatically when ordering or reinstalling a VPS.
You have now successfully saved a default SSH key to your ZAP-Hosting account.
To edit a key, click the pencil icon in its row. A window will open where you can edit and save the name and public key.
To delete a key, click the trash icon to remove it. If it was the last key on a server, password authentication will be re-enabled automatically.