How do I gracefully exit/shutdown a "remote" machine?

Henry Spencer henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org
Mon Jul 18 21:44:14 UTC 2005


On Mon, 18 Jul 2005, Walter Dnes wrote:
>   To keep the PIII functional as a "hot backup" machine, I boot it once
> a week, ssh into it from the P4, su to root, run gentoo linux updates,
> and shut it down.  What happens is that "halt -p" shuts down the PIII
> and I have to go to another tty (on the P4), "ps -ef", get the PID of
> the ssh logon to the PIII, and issue a "kill -3" on it...

Don't try to do it interactively.  Sign off from the interactive session,
and then "ssh root at p3box poweroff" (substituting the appropriate name for
"p3box").  Works for me. 

                                                          Henry Spencer
                                                       henry-lqW1N6Cllo0sV2N9l4h3zg at public.gmane.org

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list