+1

Please help with commands of How to shutdown reboot a remote linux machine?

2 answers, +1 votes, 170 views
Visitor's picture
asked by Visitor
9 weeks 5 days ago



2 Answers

Answer
+2

Connect to the remote machine using ssh and issue the following command
 
to shutdown the machine
 
sudo shutdown -h now
 
to restart the machine
 
sudo shutdown -r now

Visitor's picture
answer by Visitor
9 weeks 5 days ago
  • ssh -lroot <remotepc> shutdown -h now

    - Visitor 8 weeks 3 days ago
  • worked for me, thanks.

    - Visitor 9 weeks 8 hours ago
  • Answer
    0

    You could also try these commands:
    1.For reboot:               
    reboot
    2.For shutdown:           
    init 0
    poweroff
     
     

    alexandrug's picture
    answer by Alex
    5 weeks 5 days ago

    Asked by

    Visitor's picture
    Visitor

    View in your own language!