Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-alert

GitHub Issues License

🧐 About

ssh alert is a simple tool to alert you when someone is trying to login to your server via ssh.

🏁 Getting Started

Installing

git clone https://github.com/MrJacob12/ssh-alert
cargo build --release

Run app as root

sudo ./main

The first run will create a configuration file to /etc/ssl-alert/config.yml Complete this configuration:

smtp_server: smtp.gmail.com
username: Username to google.smtp
password: Password to google.smtp
from: Email from
to: Email to send alert
path: Path to ssh-alert executable file

Second run as root create pam script to handle success login. If you want to change path to executable file after second run, you need to change path in /etc/pam.scripts/ssh_alert.sh

⛏️ Built Using

📝 License

This project is MIT licensed.

✍️ Authors

About

SSH Alert

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages