Introduction
It may be useful to manage your SSH access by keeping a list of your public keys and giving each one a name that makes it easy to recognize.
The SSH Keys interface in the MG panel allows you to:
- save as many public SSH keys as you want;
- modify the public SSH keys; and
- delete the public SSH keys.
Prerequisites
Enter the following address in your web browser: https://mg.n0c.com/en/.
Generate your public key according to How to Create an SSH Key and Connect to an Account Remotely.
How to Add a Public Key
To add a public key:
- Copy the public key created in How to Create an SSH Key and Connect to an Account Remotely to your clipboard.
- In the MG panel, select Files -> SSH keys.
- Click the Create button:
- Fill in the fields in the Create SSH key dialog box:
- Therefore :
- Enter the name of the key in the TITLE field.
- Paste the public key into the PUBLIC KEY field.
- If you only allow a few machines to connect remotely, list them in the IPS (SEPARATED BY ‘,’) field.
- Click on the CREATE button.
- Your SSH key is then displayed in the SSH Keys window:
How to Change Public Key Information
To change information related to an SSH key:
- Locate the key you want to modify.
- Click the Edit icon:
- This opens the Edit SSH Key dialog box:
- Provide the required information and click the EDIT button to save your changes.
How to Delete the Public Key
To delete the SSH Key:
- Locate the key you want to delete.
- Click on the Delete icon:
- At the command prompt Delete this key?, click the Delete button.