mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 23:40:51 +00:00
4 lines
174 B
Plaintext
4 lines
174 B
Plaintext
|
ip=`echo $SSH_CONNECTION | cut -d " " -f 1`
|
||
|
logger -t ssh-wrapper $USER login from $ip
|
||
|
/usr/bin/curl -d "Contabo: user $USER just logged in from $ip." ntfy.sh/bft >/dev/null
|