CentOS-6.7 Passing delayed shutdown via ssh command line argument?

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



If I log into a host via ssh from my workstation then I can enter this:

shutdown -r +90&

and log out.  The shutdown command will continue in effect and will
activae 90 minutes later.

However, if I do this instead:

ssh -t host.domain.tld 'shutdown -r +90&'

then the shutdown command does not remain in effect.  Why is this so
and is there some way to achieve this?


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux