Is it possible to remotely force a reboot on Ubuntu 20.04.3?

High Noon high12noon at mail.com
Mon Feb 21 15:24:29 UTC 2022


On Mon, 21 Feb 2022 15:44:21 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:
>
>>So it seems like it is in real need of a restart...
>>
>>But is it possible to force such when the situation is as described?
>>
>
>I have tried this from
>https://www.cyberciti.biz/faq/remote-shutdown-linux-computer-from-the-cli/
>
>$ ssh -t bosse at aspomint 'sudo reboot'
>ssh_exchange_identification: Connection closed by remote host
>
>So even this fails...

If it says "connection closed by remote" then are you sure it isn't rebooting?
Maybe it reboots fast so by the time you login again...

-high12noon





More information about the ubuntu-users mailing list