#!/bin/sh
# Check for active SSH connections/sessions *to* the system

pgrep -f 'sshd(-session)?(\.[^:]+)?:.*pts' >/dev/null && exit 254
exit 0
