A horrible, web-based SSH connection manager (ConMan) built with Python and Flask. ConMan enables you to:
- View active SSH connections.
- Manage system users and SSH keys.
- Configure basic application settings.
- Python 3.6+ (tested on Python 3.x)
- Flask (
pip install flaskorapt install python3-flask) - sudo privileges for the user running ConMan (needed for user creation, SSH key management).
- ss or netstat to list active SSH connections.
run the start.sh script in the scripts directory.
- My have to run as root? I will figure out permissions needed at some point.
- Do not forget to add execute permissions to scripts
chmod +x scripts/*
conman/
βββ conman.py Main application
βββ logs/
β βββ conman.log Logs from the default webserver
βββ static/
β βββ css/
β β βββ style.css
β βββ js/
β β βββ common.js
β β βββ dashboard.js
β β βββ manage.js
β β βββ settings.js
βββ templates/ Base HTML pages
β βββ base.html
β βββ dashboard.html
β βββ manage.html
β βββ settings.html
βββ scripts/ Used for storing scripts for making life easier.
| βββ start.sh
| βββ stop.sh
| βββ Other helpful scripts stored here
The app doesnt work right now. Need to add debugging code to figure out what the hell is going on. I also need to learn how to code.