26 points · by zdw · 13y ago · 4 comments
I once worked with an admin who would setup a script to enable SSH passthrough on the firewall (also OpenBSD) at a specific time of day, but never the same time. Once connected in the allowed window and he finished his business, he would reset the timer for another time of day (or perhaps several days to a week later if he's going to be away for a while).
It's a bit like the timed bank vault where even the manager couldn't open it until the timer on the door allowed it.
> And I'll let you in on a dirty little secret: you can even match on interface in your sshd config for things like these
I don't get the secret. Only allow logins from certain IP ranges for each user/key?
Not much gain. Keys (plus good passphrases, plus a decent manager) are a big win.