Re: remote poweroff with systemd

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



On 05.08.2013 20:39, Fons Adriaensen wrote:

ssh -t remote1 "sudo telinit 0"

etc. This shuts down the first one OK, but then the script
hangs. Apparently the ssh connection isn't closed cleanly.

Additionally to the approach you took or the ones proposed by others, using ssh -o TCPKeepAlive=yes should help to terminate the SSH connection to a dead peer at some point.

Cheers,
Daniel



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux