To install:
See the releases tab on the GitHub Page or CLICK HERE
Prerequisites:
- You must have at least Python 3.9 with pip/pip3 INSTALL HERE
- Have an Ubuntu Server with an account that has sudo commands/access (Program hasn't been tested on other Linux Distros)
To Setup:
- Edit config.yaml and enter your server details as followed in the example file (config_example.yaml)
- Open a terminal.
- CD to the directory SSH-Login-Monitor is in.
- Run
python -m venv .venv
- Activate the venv:
For Unix or MacOS:source .venv/bin/activate
For Windows:.venv\bin\activate
- Install required dependencies with
pip install -r requirements.txt
To run:
- Open your terminal.
- CD to the directory this program is saved in.
- Run the command
python main.py
or you can run it with the file in it's directory.
Disclaimer: You may have to install all the dependencies if not installed by the setup.
To configure the private key simply edit the config file and include the path to where your ssh key is located.