Skip to content

BlwAvg/conman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ConMan

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.

Requirements

  • Python 3.6+ (tested on Python 3.x)
  • Flask (pip install flask or apt 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 application

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/*

Folder Structure

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

Troubleshooting

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published