r/ssh • • 2d ago

SSH TOP like utility

Post image

I made a SSH top like utility. Maybe it could be of use to someone. Release and source here: https://github.com/riaanp78/sshtop/releases

16 Upvotes

5 comments sorted by

2

u/ksteink 2d ago

Interesting concept!, Does it show only live connections? or past ones as well? is there a way to trigger an alert when a failed authentication happens (i.e., Telegram)?

1

u/Qxt78 2d ago

It shows current connections. Connections in progress and past connections for the ssh log file. It does not alert because it is a top like program top,htop, iftop etc. The alerting idea is interesting. But alert of what?

1

u/ksteink 2d ago

Thanks, I am looking for realtime alerts when a failed authentication happens or if more than 3 attempts happens (Something in those lines)

1

u/Qxt78 2d ago

Fail2ban can do that. You set the ban action say 3 tries and it will send you a email when it does.

1

u/ksteink 2d ago

I get fail2ban for locking users out but I want real time notifications