Bug#352830: Race condition

2007-10-27 Thread Nicolas Valcarcel
On sid i have get different results: [EMAIL PROTECTED]:~$ for i in `seq 10`; do ssh www.xxx.yyy.xxx date done [11] 6147 [12] 6148 [13] 6149 [14] 6150 ssh_exchange_identification: Connection closed by remote host ssh_exchange_identification: Connection closed by remote host

Bug#352830: Race condition

2007-10-27 Thread Chris AtLee
I get this w/ openssh-client 1:4.6p1-5 from sid. I have ControlMaster=auto and ControlPath set in my ~/.ssh/config file. What happens when you run this: for i in `seq 10`; do ssh -o ControlMaster=auto -o ControlPath=~/.ssh/ssh_control_%h_%p_%r xxx.yy.zzz date ; done On 10/27/07, Nicolas

Bug#352830: Race condition

2007-10-27 Thread Nicolas Valcarcel
[EMAIL PROTECTED]:~$ for i in `seq 10`; do ssh -o ControlMaster=auto -o ControlPath=~/.ssh/ssh_control_%h_%p_%r www.xxx.yyy.zzz date done [11] 7155 [12] 7156 [13] 7157 [14] 7158 [15] 7159 [16] 7160 [17] 7161 [18] 7162 [19] 7163 [20] 7165 [EMAIL PROTECTED]:~$ [EMAIL PROTECTED]'s password: [EMAIL

Bug#352830: Race condition

2007-10-26 Thread Chris AtLee
I'd like to note that this problem also manifests as a race condition. I have some scripts that execute multiple 'scp' commands in parallel, and I quite often see some of them fail with ControlSocket ... already exists It seems like what happens is scp shuts down the connection before deleting