-
Vps reboot from ssh
Which is the command line script in ssh for soft and forced reboot of the virtuozzo vps?
/etc/init.d/sshd restart
seems not to function
-
Senior Member
Power Poster
The /etc/init.d/sshd restart command is intended to restart your ssh daemon (the sshd process is the only process which will be affected by the restart).
Use the shutdown command to reboot your server - popular options are as follows:
- shutdown -r now - Reboot ("safe" - runs the init scripts associated with the shutdown process)
- shutdown -nr now - Reboot ("forced" - skips the init scripts - use of this command option is not recommended, as it may affect database integrity and cause other errors)
- shutdown -h now - Halt the VPS (equivalent to a "safe" shut down)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks