skip to navigation
skip to content

django-sshkm 0.1.12

A Django based ssh-key management tool.

# django-sshkm [![Build Status](](
django-sshkm is a Django based ssh-key management tool.
It stores ssh-public-keys in a database and combines them in groups (Development, Operations, Externals, ...). You can assign these groups to operating system users on target hosts and are able to deploy your configurations.

Do you have hundreds of hosts/servers and dozens of users or other systems which want to connect to these using SSH?
Do you know the problem when an employee leaves the company but knows many passwords of OS-users and now you should better change all your passwords?
Do you want to have better control over who can connect to your hosts using SSH?
Then django-sshkm is perfect for you.

## Demo
There is a demo available:
URL: [](
USER: admin

## Requirements
- Linux
- RabbitMQ
- Python >= 2.7
- Django >= 1.8
- Celery >= 4.0.0
- Django compatible database like (SQLite, MySQL/MariaDB, PostgreSQL, ...)

## Used Technologies
- [Linux](
- [Python](
- [Django](
- [RabbitMQ](
- [Celery](
- [Bootstrap](
- [jQuery](
- [DataTables](

## Setup
- Install a RabbitMQ server.
- Install a Django compatible database.
- Install SSHKM:
you will need some development tools and libraries: gcc python python-devel python-pip mariadb-devel postgresql-devel openldap-devel httpd-devel
pip install django-sshkm
- Configure /etc/sshkm/sshkm.conf (create it if it does not exist)
You can find an example in your install directory (example: /usr/lib/python2.7/site-packages/sshkm/sshkm.conf).
If you use sqlite make sure that the user running celery (see next step) has read and write permissions to the db-file.
- Install a webserver which runs wsgi
Example Apache httpd:
Alias /static/ /usr/lib/python2.7/site-packages/sshkm/static/

<directory usr="" lib="" python2.7="" site-packages="" sshkm="" static=""/>
Require all granted

WSGIScriptAlias /sshkm /usr/lib/python2.7/site-packages/sshkm/
WSGIDaemonProcess sshkm user=apache group=apache
WSGIProcessGroup sshkm

<directory usr="" lib="" python2.7="" site-packages="">
Require all granted
- Run celery
cd /usr/lib/python2.7/site-packages
celery worker -A sshkm -l info

## Firewall & SELinux
Be aware of firewall and SELinux issues

You can find more informations in the wiki:  
File Type Py Version Uploaded on Size
django-sshkm-0.1.12.tar.gz (md5) Source 2017-03-21 557KB