Skip to content

Send a notification via Discord on every new SSH login

Notifications You must be signed in to change notification settings

markd69/shell-notifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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/NurdTurd/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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%