Skip to content

DirectAdmin plugin for managing user's SSH public keys.

Notifications You must be signed in to change notification settings

cmsnegar/da-ssh-key-management

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectAdmin SSH Key Management Plugin

Welcome to this repository of an unofficial DirectAdmin plugin for managing SSH keys.

With this plugin end-users on an DirectAdmin server can easliy add and remove their public SSH key(s) to their user.

The problem with DirectAdmin is that users can only logon to SSH with a plain-text password, something we don't want at all. Previously we managed the SSH-keys for customers manually which was a time-consuming job. So I decided to create this plugin for it, so users can do this by themselves.

I developed and used this plugin for over a year now on our own servers, but I decided to release it to the public! So everyone can use this.

Installation

cd /usr/local/directadmin/plugins
git clone https://github.com/kbentlage/da-ssh-key-management.git ssh_key_management
sh ssh_key_management/scripts/install.sh

Update

cd /usr/local/directadmin/plugins/ssh_key_management
git pull

CSF firewall integration (14-03-2018)

By default we have blocked public SSH access and we're using CSF as default firewall. I've integrated CSF so that end-users now can "whitelist" their IP-adresses for SSH access.

Screenshots

Add SSH key

Add SSH key

List SSH keys

List SSH keys

About

DirectAdmin plugin for managing user's SSH public keys.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.4%
  • Shell 3.3%
  • HTML 0.3%