Commands I've tried:

sudo reboot
sudo systemctl reboot

Both commands just ask for my password for sudo then write:

Write failed: Broken pipe

Then they close the SSH connection and I can re-login immediately.

Any idea what's going on?


The reboot is happening too quickly, before the sshd can properly close the connection, the os is already rebooting and ending the connection without any further messages going over the wire.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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