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


At 01:13 PM 9/2/2009, you wrote:
On 09/02/2009 03:53 PM, jeffunit wrote:

<snip>

I was using my personal domain, www.weasel.com
However the problem also shows up when I use sftp or ssh to machines on
my internal lan, that I know are working.

OK, as you might expect, that WJFFM. I am using Cygwin 1.7 but I don't expect that's key. I don't see anything obvious in your cygcheck output. Have you tried looking at the verbose output from 'ssh' to see if it provides some clue? If you have access to the server side and can set debugging on that too, that should help you narrow down where the problem is.

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...

U:\>sftp -v jdeifik@www.weasel.com
Connecting to www.weasel.com...
OpenSSH_5.1p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Connecting to www.weasel.com [208.97.189.139] port 22.

U:\>sftp -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.

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.

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.

For example:

U:\>sftp -v -v -v jdeifik@torrent
Connecting to torrent...
OpenSSH_5.1p1, OpenSSL 0.9.8k 25 Mar 2009
debug2: ssh_connect: needpriv 0
debug1: Connecting to torrent [192.168.47.110] port 22.

also hangs...

jeff


-- 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]