Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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!

share|improve this question
Take a look at my Post, see if it helps. – Mitch Aug 6 '13 at 9: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 "<incomplete>" The full line is: "? ( at <incomplete> on wlan0" - its also weird as it is connected via ethernet cable... – Francesco Aug 6 '13 at 13:13
To find the MAC address, type the command ifconfig in terminal. – Mitch Aug 6 '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... – Francesco Aug 7 '13 at 11:46
up vote 2 down vote accepted

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 :)

share|improve this answer
Thanks a lot :) – Francesco Aug 6 '13 at 9:21
you are welcome. if it was helpful, you can mark or upvote the answer. – Private Aug 6 '13 at 9:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.