Create a php script that will reset the file (but you will need sudo to make this work)
I think I should invite my admin to visit the forums
yes the "Linux" forum becomes very active
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #5 on: Jun 12, 2007, 08:10:00 pm »
how about to start the first SSH session, take the changes (adding some IP address I'm not on, f.e. at home) and than open a second session, would that work?
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
Kill the googlebot
Posts: 6
40 credits Members referred : 0
« Reply #7 on: Jul 16, 2007, 07:39:48 am »
just use lfd or other brustforce blocking script...
Community Supporter?
Hunky Junky Monky Man!
Gender:
Posts: 68
436 credits Members referred : 0
Schwa?
« Reply #8 on: Jan 03, 2008, 02:13:42 am »
You should always always always keep one session open while modifying your ssh. You should be able to make your change and restart the sshd (you might have to search for what the exact command is...) but since SSHD actually spawns child sshd's, you can restart it while still logged in (that is if its configured to do that... which it usually is, if I remember right). Then, try to make your second connection. If that fails, roll back.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=6792