Installation
February 11, 2026 ยท View on GitHub
Download Sentry
bash || sh
export SENTRY_URL=https://raw.githubusercontent.com/msimerson/sentry/master/sentry.sh
curl -O $SENTRY_URL || wget $SENTRY_URL || fetch --no-verify-peer $SENTRY_URL
chmod 755 sentry.sh
Install
mkdir -p /var/db/sentry
mv sentry.sh /var/db/sentry/sentry
Configure tcpwrappers
Add these lines near the top of your /etc/hosts.allow file:
sshd : /var/db/sentry/hosts.deny : deny
sshd : ALL : spawn /var/db/sentry/sentry --connect --ip=%a : allow
Test
/var/db/sentry/sentry --report
That's all!
Upgrading
cd /var/db/sentry
curl -o sentry https://raw.githubusercontent.com/msimerson/sentry/master/sentry.sh
chmod 755 sentry
Requirements
- Bash (4.0 or later)
- SQLite3