[GLLUG] ssh hangs on remote shutdown
N N Ashok
nalkunda at egr.msu.edu
Mon Jan 5 12:18:29 EST 2004
On Monday 05 January 2004 10:25 am, Scott Harrison scrawled:
> Hi:
>
> An ongoing phenomenon I have noticed is:
>
> [invokingshell %] ssh user at remotemachine
> [remotemachine %] shutdown -r +2 &
> [remotemachine %] exit (or Ctrl-D)
>
> The ssh session hangs on me, not returning me to the invoking shell.
>
Try using shutdown without sending it to the background (no &). I think that
will put you back to the prompt where you can logout safely without a hung
terminal.
ashok
More information about the linux-user
mailing list