Linux : How to hard reset remotely

By | March 29, 2013

If like a lot of sysadmin, you manage servers in a remote location and usual clean shutdown dosen’t work but you still have console access, there is a workaround to send an interrupt that will do exactly the same as you push the reset button.

Since a reset on a heavy used server is never a good idea, I would suggest first to sync the disks to limitate as much as possible any data loss.

The following command will sync all mounted filesystems :

Then, this command will hard reset the server :