darcs

Issue 846 pass through stderr from ssh

Title pass through stderr from ssh
Priority bug Status duplicate
Milestone Resolved in
Superseder pass through stderr from ssh (because ssh prompts can block)
View: 845
Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, zooko
Assigned To
Topics

Created on 2008-05-14.13:38:11 by zooko, last changed 2009-08-27.13:59:02 by admin.

Messages
msg4681 (view) Author: zooko Date: 2008-05-14.13:38:09
Folks:

I just ran into a problem where I did a "darcs push user@host" and it  
"hung".  After a few minutes (instead of waiting I went to do other  
stuff), I realized that the underlying ssh connection must be blocked.

I tried it -- "ssh user@host" -- and sure enough the Windows putty  
ssh posted a warning message to stderr and blocked after asking  
"Store key in cache? (y/n)".

I've noticed that this is a frequent problem for new users of  
darcs.  If anyone is having trouble using darcs over ssh, the first  
step is always to tell them to invoke the equivalent ssh command on  
the command-line so that they can see the stderr.

Brian Warner pointed out to me that if darcs simply passed any stderr  
from the call to ssh back to darcs's stderr, then this would happen  
automatically and new users (as well as experienced users like me)  
would be able to diagnose their problems more quickly.

Regards,

Zooko
History
Date User Action Args
2008-05-14 13:38:11zookocreate
2008-05-14 13:48:33koweysetpriority: bug
nosy: tommy, beschmi, zooko, dagit
superseder: + pass through stderr from ssh (because ssh prompts can block)
2008-05-14 13:48:48koweysetstatus: unread -> duplicate
nosy: tommy, beschmi, zooko, dagit
2009-08-06 21:04:32adminsetnosy: + dmitry.kurochkin, simon, kowey, thorkilnaur, - beschmi
2009-08-11 00:13:05adminsetnosy: - dagit
2009-08-25 18:10:45adminsetnosy: + darcs-devel, - simon
2009-08-27 13:59:02adminsetnosy: tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin