X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A9EE239.4060002@cygwin.com> Date: Wed, 02 Sep 2009 17:23:05 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ssh and sftp connects intermittently References: <1251918865 DOT 25462 DOT ezmlm AT cygwin DOT com> <20090902192852438 DOT EHES29089 AT cdptpa-omta03 DOT mail DOT rr DOT com> <4A9ECA81 DOT 3040600 AT cygwin DOT com> <20090902195353031 DOT QFQB8054 AT cdptpa-omta01 DOT mail DOT rr DOT com> <4A9ED1DC DOT 8090809 AT cygwin DOT com> <20090902203018853 DOT GVRP16127 AT cdptpa-omta02 DOT mail DOT rr DOT com> <4A9EDD64 DOT 8090708 AT cygwin DOT com> <20090902210809413 DOT TNZO8054 AT cdptpa-omta01 DOT mail DOT rr DOT com> In-Reply-To: <20090902210809413.TNZO8054@cdptpa-omta01.mail.rr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 09/02/2009 05:08 PM, jeffunit wrote: > At 02:02 PM 9/2/2009, you wrote: >> On 09/02/2009 04:30 PM, jeffunit wrote: >>> As I said, the problem is intermittent. However, once I have the >>> problem, >>> it occurs reliably. Here is some verbose output, which isn't very >>> helpful... >> >> Perhaps. I find this interesting though. >> >>> U:\>sftp -v -v -v jdeifik AT www DOT weasel DOT com >>> Connecting to www.weasel.com... >>> OpenSSH_5.1p1, OpenSSL 0.9.8k 25 Mar 2009 >>> debug2: ssh_connect: needpriv 0 >>> debug1: Connecting to www.weasel.com [208.97.189.139] port 22. >> >> If I do the same thing, though I'm in bash, I get this line first: >> >> debug1: Reading configuration data /etc/ssh_config So, do you have this file? >>> I have to use control-C to stop this, as it hangs after the 'connecting >>> to' line. >>> >>> This problem is independent of where I am connecting to. >> >> Really. So you could debug on the server side then and see if there's >> any interaction. If not, it sounds like this is a problem with an >> outgoing firewall block or other BLODA >> . > > Here is some output when run with bash. > The first output successfully connects, the second one hangs. > Since this issue is intermittent, I suspect it might not be a BLODA > issue... Yeah, probably true. Still worth a look though. > I had to use control-C to stop this, as it has been hanging at this > point for 5 minutes. Yep, you're clearly getting a hang there. Have you tried this with another machine that wouldn't be a mirror image of the one you're using? Could be a machine specific configuration thing. If it doesn't work for you from more than 1 machine and it's not an external source like BLODA and it's not something on the server side, then it looks like you're stuck trying to debug this in the source. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple