This question already has an answer here:
- Why can't I restart/shutdown? 2 answers
- Remote reboot over ssh does not restart [duplicate] 2 answers
I just installed a fresh ubuntu server 12.04. I log in over SSH and use sudo -s to get root access. Then I use shutdown now and the server closes the connection. I cannot access the server over SSH, FTP or HTTP anymore, it appears to be off. But it isn't. The server stays on, without being useful. Why? How can I shutdown the server with SSH?
-hflag toshutdownlike this?shutdown -h now– gertvdijk Feb 4 at 10:36shutdown -h nowworks (as doespoweroff, mentioned in the first answer) – Camil Staps Feb 5 at 9:30