Every weekday, I log into my VPS (Linux) at about the same time (between 8am and 9am) using PuTTY.
Is there a way to prevent or automatically fail all other login attempts at other times?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
See this manpage for time.conf
user1 ; * ; Wd0000-2400 | Wk1800-0800
would allow the user user1 evenings on weekdays (wk), and all days on weekends (wd), and deny them the rest of the time.
yours would be something like
* ; * ; Al0800-0900