Score:0

Reboot other machine remotely

cn flag

Apparently one of my Ubuntu 20.04 Servers has crashed.

It still reacts somewhat (I can ping the machine from another server in the same network and I do get the authentification mask upon trying to establish an ssh connection. However, the connection cannot be built up.

As I currently do not have physical access to my office, I would like to attempt to reboot the machine. Either from outside the office network or from another Server within the office network.

Is there a way such as sending a single shutdown -r command without opening a full ssh session? I have found other questions such as Turning off other computers in your network using ping and tracerout which mention connecting with an ssh client and issuing shutdown -r 0 (not possible for me to open an ssh session)

in flag
If this were possible by default, I think there would be a lot more chaos in data centres around the world …
cn flag
Nope you can not. It is ONLY possible if you set this up and your network card is capable of doing WOL (wake on lan). @matigo I can start and shutdown my systems bij phone. Took some effort to setup but it can be done ;-)
in flag
@Rinzwind yeah, I know it can be done, but it's not an option by default. If it were, botnets all over the planet would be shutting down servers randomly "for the lulz" ...
in flag
You should perhaps consider installing watchdog or using a LOM (Lights out manager). sometimes ATX boards have them built in. Otherwise you could buy or use a Raspberry PI as a remote KVM. That would allow you remote console access and able to do a cntl-alt-del etc.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.