2

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?

User
  • 329

1 Answers1

1

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.

Jan Henke
  • 1,077