How to add new key?
Go into SSH tab of your server, there you'll see a form for creation of new key.
Specify Title for your key, so you can recall it. And choose to which user this key will be added as authorized key.
When you click
Create
system will show you the Private key, so you can save it.This is the only occasion Private key will be visible.
How can I access my server with this key?
On your PC go into folder
~/.ssh
and create config
file if it's not already created.Config file setup
Inside file add configuration for new key, like this:
Host my-server
Hostname 192.168.1.1
User linux-user-you-choosed
IdentityFile ~/.ssh/private-key-file
IdentitiesOnly yes
Replace above strings with valid ones.
Now from terminal you're able to login with:
ssh my-server
Other options
Here I've described only 1 option of using SSH key.
You can also use it with any SSH management app like Termius.
Or you can use SFTP tools and upload/download files from your server. One such tool is FileZilla.