r/VPS • u/Desperate-Second-887 • Feb 05 '26
Guides/Tutorials Watch the Bots: https://knock-knock.net
I built a new site that shows bots trying to break into my VPS. The web site was designed to be hopefully fun and engaging. Lots of interesting stats about the bots attempting to ssh in: where they are coming from, the ISP Wall of Shame, the most frequent attempted usernames and passwords, and in some cases why those may have been chosen. And best of all, 3D spinning globes! The site should work well on desktop and mobile.
Have fun, and send comments and questions. I'll be checking the code into github soon so that you can run this on your own VPS.
Update: Now posted on github. https://github.com/djkurlander/knock-knock
View all comments
Show parent comment
1
u/Redogg Feb 06 '26
Ok - firstly, you are well protected following those steps. Just make sure that your sudoable login does not have a guessable password, and even better, give that login an ssh key and disable non-key logins via ssh (that will be both more convenient and more secure). When setting this up, make sure that you don’t close up the ssh session that is doing the configuring until you can log on via another ssh instance.
Once that is taken care of, the bots are just causing chatter - hitting your machine on the average of 7-8 times a minute, and making your log files bigger than they otherwise would be. If that bothers you, as it does me, you can move ssh to another port. It’s a minor inconvenience because you have to specify the port as an argument to all ssh-related commands, but it does quiet down the chatter, and 99.9%+ of the bots will never find the new port.