Skip to content

Send a notification via Discord on every new SSH login

Notifications You must be signed in to change notification settings

fieu/shell-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation


shell-notifier

Send a notification via Discord on every new SSH login

Proposal

I wanted a notification for every time a new SSH session has begun.

Requirements

Install

Simply add the following lines to your ~/.bashrc, ~/.zshrc or other sourced file.

# Discord webhook (put the webhook URL inside the quotes)
export WEBHOOK_URL=""
# Execute webhook
(curl -sL https://raw.githubusercontent.com/fieu/shell-notifier/master/notify.sh | bash -s "$WEBHOOK_URL" &)

Usage

Simply open a shell!

Example

Screenshot

About

Send a notification via Discord on every new SSH login

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages