Skip to content

Tiny shell script to send a Discord notification when a SSH login occurs

Notifications You must be signed in to change notification settings

aliask/tattletale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Tattletail

Tiny shell script that sends a Discord notification when a SSH login occurs.

Requirements

  • SSH Daemon using Pluggable Authentication Module (PAM)
  • Curl
  • Awk
  • Discord Webhook URL

Installation

A super-easy guided installer is provided:

$ sudo ./install.sh
Enter your Discord Webhook URL (https://discord.com/api/webhooks/...):
https://discord.com/api/webhooks/000000000000000000/000000000000000000000000000000000000000000000000000000000000000000-
🍉 Installing SSH tattletale...
🎉 Done! Test it out by doing a quick 'ssh localhost'!

Example

Example Notification

About

Tiny shell script to send a Discord notification when a SSH login occurs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages