/moalinna

A web interface to store SSH keys for pubkey auth in a database.

Primary LanguagePythonMIT LicenseMIT

Moalinna

-- Gateway to the sheep pasture.

A web interface to store SSH keys for public key authentication in a database, that can be used with OpenSSH's AuthorizedKeysCommand.

Testing & Development

For your local development setup, install the requirements in a virtual environment, copy the sample settings and create a database.

python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
cp settings.ini.sample settings_dev.ini
./manage.py migrate
./manage.py runserver

Now you can access the running instance at http://localhost:8000.

Moalinna requires an OpenID Connect provider for user authentication in the web interface. If you don't have one at hand, create a local user and login first via the local admin interface and afterwards return to the start page.

./manage.py createsuperuser

References