Re: Connecting to cygwin ssh is slow

2009-06-23 Thread Eric Lenio
I'm a bit late to this thread but I had the same issue and I found a solution that worked for me and wanted to share it. Original thread: http://sourceware.org/ml/cygwin/2009-03/msg00361.html I already had UseDNS=no, but was still seeing about a 5 second delay after seeing the "Last login: Tue Ju

Subject: Re: Connecting to cygwin ssh is slow

2009-03-17 Thread Shaun Broadbent
I came across the very same thing this morning, ironically for the same reasons. After deciding ssh was too slow and seeing some dns errors show up in the log i went to edit sshd_config to remove dns and found as you did that I couldn't. It would seem this was because sshd was running (not that

Re: Connecting to cygwin ssh is slow

2009-03-15 Thread tmcd
On Sun, 15 Mar 2009, UdiK wrote: > Well, I'm still stuck. I tried to change UseDNS to 'no', but editing > the sshd_config file was impossible. The file is owned by cyg_server > and even the Administrator user can't write to it. I tried to change > the file permissions and ssh crashed and the servi

Re: Connecting to cygwin ssh is slow

2009-03-15 Thread UdiK
Well, I'm still stuck. I tried to change UseDNS to 'no', but editing the sshd_config file was impossible. The file is owned by cyg_server and even the Administrator user can't write to it. I tried to change the file permissions and ssh crashed and the service wouldn't start. I changed the settings

Re: Connecting to cygwin ssh is slow

2009-03-12 Thread Henry S. Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not sure this is your problem, but I had a similar problem and traced it to ident: if the remote machine is trying to ident back to you and you've firewalled port 113, it takes a while to timeout. If you open port 113 it will fail faster. . . ht - --

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Tom Schutter
Try setting UseDNS to no in /etc/sshd_config. On Wed 2009-03-11 11:07, Mike Marchywka wrote: > > > > > > Date: Wed, 11 Mar 2009 08:57:13 -0700 > > From: u...@commtouch.com > > To: cygwin@cygwin.com > > Subject:

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Mike Marchywka
> Date: Wed, 11 Mar 2009 08:57:13 -0700 > From: u...@commtouch.com > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > > Thanks for both of your ideas and quick reply. I tried your suggestions but > that s

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread UdiK
Thanks for both of your ideas and quick reply. I tried your suggestions but that still doesn't improve the situation... I experience the same delays no matter how frequent I log in and out, and I always use the IP address anyways. Anything else we can try? Thanks. Udi. -- View this message in c

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:53 AM, Allan Schrum wrote: >> -Original Message- >> From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On >> Behalf Of Dave Steenburgh >> Sent: Wednesday, March 11, 2009 10:45 AM >> To: cygwin@cygwin.com >> Subj

RE: Connecting to cygwin ssh is slow

2009-03-11 Thread Allan Schrum
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Dave Steenburgh > Sent: Wednesday, March 11, 2009 10:45 AM > To: cygwin@cygwin.com > Subject: Re: Connecting to cygwin ssh is slow > > On Wed, Mar 11, 2009

Re: Connecting to cygwin ssh is slow

2009-03-11 Thread Dave Steenburgh
On Wed, Mar 11, 2009 at 10:05 AM, UdiK wrote: > When I connect to our cygwin SSH machine (Windows 2003 server), it usually > takes more than 5 seconds to get a prompt and be able to start working. This > delay slows down many of our scripts which rely on SSH to connect to > Windows. > > What cause