Hang and broken pipe when rebooting over ssh
- From: "Fabio Brazzo" <fabio@xxxxxxxxx>
- Date: Tue, 30 Nov 2010 18:36:23 +0100
I'm trying to reboot one box from another, using the following command:
ssh 10.0.0.26 'reboot --force'
I expect this to block for a short while until the other box reboots, then
return. What I see happening is no activity for a while, then if I press a
key, I get "Write failed: Broken pipe".
The reboot of the other box works just as expected, but I'd like to clear
up the output on the local box, ideally without just hiding it all in
/dev/null.
I'm using OpenSSH 5.3p1 on Redhat 6.
Edit: I've foundmy own solution; I'll add this as an answer below. Seems I
can't accept this just yet, though. I guess this is to give others a
chance to come in with a better solution.
Visualizza articolo...
<http://serverfault.com/questions/207353/hang-and-broken-pipe-when-rebooting-over-ssh>
- Follow-Ups:
- Re: Hang and broken pipe when rebooting over ssh
- From: Max Kessler
- Re: Hang and broken pipe when rebooting over ssh
- Prev by Date: Re: lenny1:5.1p1-5 revers-PFW: ssh_exchange_identification: Connection closed by remote host
- Next by Date: ssh connect back?
- Previous by thread: Re: lenny1:5.1p1-5 revers-PFW: ssh_exchange_identification: Connection closed by remote host
- Next by thread: Re: Hang and broken pipe when rebooting over ssh
- Index(es):
Relevant Pages
|