On Tue, Nov 10, 2009 at 08:58:13AM +0930, Iain Buchanan wrote > On Mon, 2009-11-09 at 10:39 -0500, Walter Dnes wrote: > > > OnResume 97 /etc/init.d/sshd restart > > how come? To kill any stale ssh connections? I find that they clean > themselves up fairly well. In fact, if I hibernate and resume in > enough time, an existing ssh won't be disconnected (and still works).
I find that for some reason sshd doesn't restart on resume. I tested it 2 minutes ago... - ssh from my laptop... OK - disconnect - comment out the OnResume statement - hibernate the desktop - resume the desktop - ssh from my laptop... Connection refused - manually enter "/etc/init.d/sshd restart" (as root) - ssh from my laptop... OK - and remember to uncomment the OnResume For that matter, the console font setting is forgotten as well. I have VGA=6 in lilo.conf (probably works in GRUB as well), which defaults to an unreadable 80 columns x 60 rows display. This is done by selecting the 640 pixels by 480 scanlines mode, and the 8-pixel high font. 480 / 8 = 60 rows. Selecting 10-pixel high font gets 480 / 10 = 48 rows (YES!). And thanks to the extra pixels, the font is *MUCH* nicer than standard 80 x 50 (using 8-pixel high font with 400 scanlines). No 2 ways about it, 10-pixel high font beats out 8-pixel high font on a text console every time. -- Walter Dnes <waltd...@waltdnes.org>