How Do I Shutdown a Linux Server Remotely?
Contents

How to shutdown the remote Linux server. You must pass the -t option to the ssh command to force pseudo-terminal allocation. The shutdown accepts -h option i.e. Linux is powered/halted at the specified time. A value of zero indicates poweroff the machine immediately.

How do you shutdown a Linux server?

Type shutdown , a space, +15 , a space, and then the message to send to the users. shutdown +15 Shutting down in 15 minutes! The time string we used was +15 , representing 15 minutes from now. The + is optional.

How do I shutdown a server remotely?

Shut down machines remotely from any computer on the network by clicking the Start button in the lower-left corner of your screen, selecting “All Programs,” “Accessories” and then “Command Prompt.” Type “shutdown /i” (without the quotes) and press “Enter” to open the remote shutdown dialog box.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest