> perhaps "(sleep 3; poweroff ) &"?
I recently did something similar, and noticed that the ssh channel doesn't close as long as the background process's file descriptors use the ssh channel. So you'll probably have more luck with:
(sleep 3; poweroff) </dev/null &>/dev/null &
> perhaps "(sleep 3; poweroff ) &"?
I recently did something similar, and noticed that the ssh channel doesn't close as long as the background process's file descriptors use the ssh channel. So you'll probably have more luck with:
(sleep 3; poweroff) </dev/null &>/dev/null &