1

I am at the office right now and my ubuntu server is at home. I was connected to my server few minutes ago when I got this message :

"ssh: connect to host port 22: No route to host"

Maybe this is a silly question but I was wondering if there is a way how to reboot that server while not beign phisically there? I am almost 100% sure that a reboot will fix the problem and will restore that machine.

I can ping my other laptop so the network at home is working fine.

Thank you!

rf2632
  • 491
  • 2
  • 8
  • 19
  • Take a look at my [Post](http://askubuntu.com/questions/297198/remotely-turning-on-computer/297201#297201), see if it helps. – Mitch Aug 06 '13 at 09:26
  • Very nice solution but unfortunately I dont know the MAC address of the server :( I tried to connect ssh to my other PC and ran the command "arp -a" and by the MAC address info it says "" The full line is: "? (192.168.1.11) at on wlan0" - its also weird as it is connected via ethernet cable... – rf2632 Aug 06 '13 at 13:13
  • To find the MAC address, type the command `ifconfig` in terminal. – Mitch Aug 06 '13 at 16:16
  • I`m not that noob :) If you dont have access to that machine you cannot run ifconfig to find out its mac address... – rf2632 Aug 07 '13 at 11:46

1 Answers1

2

when u have this error :

ssh: connect to host port 22: No route to host

you can't reboot it without beeing physically there.

That's why my ubuntu servers are always Virtual Machines, so i can reboot them if something happens. Of course if my server crashes i can't do much, but calling my wife to reboot it :)

Private
  • 3,884
  • 9
  • 34
  • 48