Remote Shutdown of a Linux / Unix Computer From MS-Windows

You can remotely shut down a Linux or Unix computer from a Microsoft Windows computer using the ssh protocol and the shutdown command. Here’s how:

  1. Download and install an ssh client for Windows, such as PuTTY.
  2. Open the PuTTY client.
  3. In the Host Name (or IP address) field, enter the hostname or IP address of the Linux or Unix computer you want to shut down.
  4. Click the Open button.
  5. In the PuTTY terminal window, log in to the Linux or Unix computer with your username and password.
  6. Run the following command to shut down the computer:
$ sudo shutdown -h now

The -h option tells the shutdown command to halt the system, and the now argument tells the command to shut down immediately.

Note that you’ll need to have administrative privileges on the Linux or Unix computer to run the shutdown command. If you don’t have the necessary permissions, you’ll need to log in as the root user or use sudo to run the command with elevated privileges.

Leave a Comment