5
1
I often use Ubuntu's GNOME Terminal to connect to an external server using ssh. When rebooting the server the Terminal shows this message:
# reboot
Broadcast message from root (pts/0) (Wed Sep 29 13:52:26 2010):
The system is going down for reboot NOW!
#
And a seconds later the Terminal no longer responds to keystrokes, CTRL-c, CTRL-d, etc... The only escape seems to be closing the Terminal window from the GUI.
Does anyone know of a more elegant way to break out of ssh after a remote server reboot?