Notify Slack when an SSH connection is made with sshpiper 0 ▲ Mike Street's Blog 2 hours ago · Tech · hide · 0 comments Keeping track of which developer is connecting to which server can be a job in itself. There are plenty of ways to handle it, from sending logs to dedicated software to writing them to a file that someone has to check manually. Our sshpiper [https://github.com/tg123/sshpiper] setup takes a different approach and sends a Slack notification to a dedicated channel whenever a connection happens. This means we can keep an eye on things and quickly confirm that connections are genuine and expected. To make this work, we built a custom notification plugin that sits between the existing fail2ban [https://github.com/tg123/sshpiper/blob/master/plugin/failtoban] and workingdir [https://github.com/tg123/sshpiper/blob/master/plugin/workingdir] plugins. A working sshpiper install is required for this OVERVIEW The files used for this plugin are * /plugins/authnotify/main.go - The go code (which gets compiled) * /etc/sshpiperd/slack-webhook-url - Text file with your incoming webhook THE PLUGIN CODE… No comments yet. Log in to reply on the Fediverse. Comments will appear here.