October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

How to Restart a VPS After Running `shutdown -h now`

Running `shutdown -h now` powers a VPS off instead of rebooting it. Use the provider’s Start or Power on control, then verify boot, mounts, networking, and services.
Length7 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If you ran sudo shutdown -h now, you powered the VPS off rather than rebooting it. Wait a moment for the shutdown to finish, then open your VPS provider’s control panel and choose Start, Power on, or the equivalent action for a stopped instance. SSH cannot start a guest that is already powered off. If you still have a live console before shutdown completes, use sudo shutdown -c only if the shutdown was scheduled for later; now means immediate execution, so cancellation may arrive too late.

What shutdown -h now actually does

On a systemd-based Linux VPS, shutdown schedules a system shutdown and sends the selected action to the init system. The now argument is an alias for +0, meaning there is no delay. The -h option selects halt or poweroff behavior; unless an explicit halt action is requested, it is treated as --poweroff. In practical VPS terms, the guest stops running and its virtual power state changes to off.

As an Amazon Associate I earn from qualifying purchases.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This is different from a reboot. A reboot shuts services down and then starts the operating system again. A poweroff ends the guest at the shutdown stage, so network services, SSH, and your shell disappear. The provider’s host still exists, but the virtual machine needs a start or power-on operation from outside the guest.

Recovery: turn the stopped VPS back on

  1. Wait briefly. Give the operating system time to flush data and finish stopping services. Testing SSH repeatedly during this interval does not accelerate the process.
  2. Test SSH once. If the session has already closed or the connection times out, treat that as confirmation that the guest is no longer accepting connections.
  3. Open the VPS provider dashboard. Sign in through the provider’s normal web control plane, not through the unavailable guest.
  4. Select the affected instance. Check its reported state. Look for labels such as Stopped, Powered off, Shut down, or Terminated. A state of Running may indicate that the shutdown is still progressing or that the provider has not refreshed its status.
  5. Choose Start or Power on. Use the action intended for a stopped instance. Confirm any warning dialog and wait for the state to change to Running.
  6. Open the browser, serial, or HTML console if offered. Watch the boot messages to confirm that the kernel starts, filesystems mount, and the login prompt appears. A console is especially useful when SSH remains unavailable after the control-panel action.
  7. Reconnect with SSH. Use the same address, port, user, and key as before. A refused connection usually means the machine is booting but the SSH service is not ready; a timeout can indicate that networking has not started or that the provider action did not complete.
  8. Check the guest after login. Verify mounts, failed services, application status, and recent boot messages before treating the recovery as complete.

Start, reboot, and reset are not interchangeable

Control panels commonly expose several power controls. Start or Power on is the normal choice when the instance is stopped. Reboot is generally intended for a running instance and asks the guest or virtualization layer to restart it. Reset, Hard reboot, or a similarly named action may cut power and start it again without allowing a clean shutdown.

Provider semantics differ. Some APIs define restart as a stop-then-start hard power cycle rather than a graceful in-guest reboot. Read the action’s description and check the reported power state before confirming it. If the dashboard says the VPS is stopped, use Start first; do not assume that a button labeled Restart will perform a graceful reboot.

If the shutdown has not finished yet

shutdown -c cancels a shutdown that is scheduled for a future time. It is useful after commands such as shutdown -h +10, where the system has a ten-minute delay. With shutdown -h now, execution begins immediately. Services may already be stopping and the command may have passed the point at which cancellation is reliable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If a console or SSH shell is still responsive, you can try:

sudo shutdown -c

Then check whether the cancellation message is accepted and whether the system remains operational. Do not run another power command simply because the prompt is slow to return; the original shutdown may still be working.

The right command when you meant to reboot

Use an explicit reboot action whenever the goal is to restart the operating system and return to the login prompt automatically.

Intent Command Effect and cautions
Immediate poweroff sudo shutdown -h now Selects immediate halt/poweroff. The VPS becomes unavailable until it is started externally.
Graceful reboot sudo shutdown -r now Selects reboot, allowing the normal shutdown sequence before starting Linux again.
systemd reboot sudo systemctl reboot Requests a reboot directly through systemd from a live shell.
Forced reboot sudo reboot -f or the equivalent forced systemd form Bypasses parts of the init-system shutdown path. Use only when graceful methods fail; filesystems may not be properly unmounted.

The -r or --reboot option is the important difference from -h. Do not substitute a forced reboot for an ordinary restart just to save a few seconds. Skipping service stop jobs and filesystem unmounts can leave data buffered or metadata inconsistent.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What to verify after the VPS starts

A green provider status does not prove that every guest service recovered. Perform checks in a deliberate order so that an application failure is not mistaken for a power or networking problem.

Confirm the operating system and boot time

uptime
who -b
systemctl is-system-running

uptime and who -b show whether a new boot occurred. systemctl is-system-running reports the systemd state; a result other than running deserves investigation, although a transitional state can be normal immediately after login.

Check failed units

systemctl --failed

Review every listed unit rather than restarting everything blindly. For a particular service, inspect its state and recent messages:

systemctl status SERVICE_NAME
journalctl -u SERVICE_NAME -b --no-pager

Replace SERVICE_NAME with the actual unit, such as an application, web server, database, or SSH service. The -b filter limits journal output to the current boot, which helps separate a new failure from older incidents.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Verify disks and mounts

findmnt
df -h
lsblk

Look for missing data volumes, read-only mounts, unexpectedly full filesystems, or a device that did not appear. Applications that rely on a separate volume can start unsuccessfully even though the operating system itself booted normally.

Check networking and SSH

ip addr
ip route
systemctl status ssh

Confirm that the expected interface has an address, a default route exists, and the SSH service is active. If the provider assigned a dynamic address, verify the current address in the dashboard before troubleshooting keys or firewall rules.

Inspect the current boot log

journalctl -b -p warning..alert --no-pager

This displays warning-level and more serious messages from the current boot. Pay attention to storage, filesystem, network, and service errors that coincide with the failed recovery.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When the dashboard action fails

The instance remains stopped

Refresh the instance page and check whether the provider reports an operation in progress. If the Start or Power on request fails repeatedly, use the provider’s documented API or support channel. Record the instance identifier, the displayed power state, the time of the failed request, and any operation ID or error text before opening a ticket.

The instance says running but SSH times out

Use the provider’s browser or serial console. If the console shows a boot prompt, wait for networking and SSH to finish. If it shows a filesystem check, emergency mode, or a kernel error, resolve that condition from the console rather than issuing repeated power cycles.

The instance is running but connections are refused

A refusal normally means that the address is reachable but no process is listening on the requested port. From the console, check systemctl status ssh, firewall rules, and the configured SSH port. Review journalctl -b for a failed network or SSH unit.

The provider offers only Reset

Use a hard reset only when the guest is genuinely stuck and graceful controls do not work. A reset can interrupt writes and skip clean unmounting, so after the machine returns, inspect filesystems, mounts, and service logs before resuming normal workloads.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why SSH cannot be used to power on the guest

SSH is an application running inside the VPS. Once the guest is powered off, its virtual CPU is stopped, its network stack is inactive, and the SSH daemon cannot accept a command. No SSH option can start a machine that is not running. The start request must come from the provider’s control plane, a provider API, or an out-of-band console associated with the host.

A browser or serial console is also useful when the guest is powered on but unreachable over the network. It provides visibility into boot output without depending on the VPS’s interface, route, firewall, or SSH configuration.

Safer operating habits for future maintenance

  • Use sudo shutdown -r now or sudo systemctl reboot when you intend to restart Linux.
  • Use sudo shutdown -h now only when you deliberately want the VPS powered off and know how to start it from the provider side.
  • For a delayed action, specify the delay clearly, for example sudo shutdown -r +5, and remember that shutdown -c can cancel a future schedule.
  • Keep the provider dashboard, API credentials, and console procedure available before starting maintenance that could end your SSH session.
  • Before a reboot, confirm that important writes, database operations, and deployment jobs have completed.
  • After every maintenance reboot, check failed units, mounts, networking, and application health instead of relying only on the provider’s Running label.

Quick decision guide

  • You ran shutdown -h now and SSH is gone: wait briefly, then use Start or Power on in the provider dashboard.
  • The dashboard says the VPS is still running: use the provider console to watch shutdown or choose the documented reboot action.
  • The command was scheduled for later: run sudo shutdown -c while the shell is still available.
  • You wanted a reboot: next time use sudo shutdown -r now or sudo systemctl reboot.
  • The VPS will not start: collect the displayed state and error details, then use the provider’s API or support process.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Set Up a RedM (RDR2) Server in 2026: License Key, txAdmin and server.cfg, Step by StepBlog11min
  2. Best RedM (RDR2) Server Hosting in 2026: Comparing Four Hosts on Slots, Memory and PriceBlog10min
  3. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.