>> $ cat opt/bin/hibernate.sh >> mate-screensaver-command -l # Activates screensaver and locks >> the screen >> sudo systemctl hybrid-sleep # Hibernate and suspend the system. This >> will trigger activation of >> the special target unit >> hybrid-sleep.target. [...] > So it's not clear which command is causing the ssh client to hang.
Maybe it's simply that `hybrid-sleep` is fast enough to stop the network before the SSH command completes? Stefan