New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Comments
@jsg
I engaged with you in good faith, assuming from your fancy tag that you might actually have something useful to share on the subject that I wasn't aware of.
So when you said "Take that as a puzzle, one worth solving", I actually tested it I Debian 12 to see if there was some interesting default setting that Id missed or something.
It turns out that you just didn't understand the script, and now you seem to be having a breakdown about zero days in encryption...which is more than a bit off topic when the subject is [supposed] security vulnerabilities introduced by the OP's script.
However, you evidently don't have anything useful to add to this conversation and you seem ill equipped to admit you simply misunderstood the script and were mistaken so I'll just leave you to your ravings at this point
Thank you! So do I (usually).
You really need to take a break from the internet...
You've forgot to put endlessh on port 22 after moving ssh somewhere else.
Infinite fun
Would it still work?
I've heard that bots became smarter these days and disconnect after 10-20 seconds of waiting.
Not all, but they are. The longest tarpitted connections I've seen are at 23/tcp (I guess this is targeted by telnet-seeking bots).
This is for idling? Fail.
Pretty much the only thing you really need to do (to idle) is enable automatic security updates.
Many of us work with people who know wtf they are talking about. You don't talk like any of those people. If people talked like you in many companies, they'd be fired. You work for the government, don't you?
Too much for idling, At least for Security
(Me) - [through VPN] ---- (Jump Servers: accepts ssh connection from VPN and + OTP auth + file2ban) - (Idling Server: accepts ssh connection from Jump Servers).
I handle this by having a small bash wrapper that calls a simple bootstrap role in ansible that adds my management user + ssh keys. That host is then ready to be provisioned by my larger ansible playbooks.
Probably kinda personal preferences but i more like
1. Use URL instead write public key on shell script (like setup-alpine), so when someday you need rotate ssh key, its kinda easy just update file on URL provided
2. Disable sudo user to input password kinda defeat purpose second-layer security just in case your private key / ssh auth was compromise.
3. It would be nice it on lowest possible shell script like
sh4. And as always, add running yabs every 15 minutes for idling
save to
/usr/local/bin/yabsand place it on crontab ((crontab -l; echo "*/15 * * * * /usr/local/bin/yabs") | crontab -)Quite possible.
I'm also constantly getting lines like
debian sshd[76882]: Bad protocol version identification '\003' from 45.40.142.108 port 53799in my ssh log.