DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

SSH keys in Directadmin control panel

| 23:30:00 23.11.2018

Since DirectAdmin version 1.55.0 allows to manage SSH keys at admin, reseller, user level. Here are some insights.

It's possible to create, edit, delete SSH keys in Directadmin panel now.

Let's Start

Connect to Directadmin as an User -> Find "SSH Keys" and click it:

SSH Keys at User Level

Creating SSH key

Creating SSH key

Here on the image you can see a form for creating a SSH key. Note all the fields are required, the password fields are optional.  If you click "Authorize" the created key will be added into a list of authorized keys, so that you can use for connecting to a SSH on the server. 

As soon as you create a new SSH key you can copy it to your device over FTP or Directadmin manager under /home/user/.ssh/id_rsa. Where user is your real username. And id_rsa might differ, depending on your Key ID, specified in the form.

Listing SSH keys

Authorized Keys and Public Keys

Authorized Keys lists keys from /home/user/.ssh/authorized_keys

Public Keys lists keys existing /home/user/.ssh/

Edit a SSH Key

Edit Authorized Key

You can add additional options per a key, for example it's possible to specify IPs from which an user can connect to server with the authorized keys.

If you click "Global Key" you can specify a list of user for which the key will be installed.

Used links:

Tags: directadmin ssh2 
About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.

All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition