[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SOLVED Re: Cannot rum multiple command on remote machine via SSH



>> $ 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


Reply to: