This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh and sftp connects intermittently


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@www.weasel.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 <http://cygwin.com/acronyms/#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.


<snip>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]