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: slow ssh login on a cygwin machine


On Feb 28 16:33, Corinna Vinschen wrote:
> On Feb 28 17:02, Ilya Dogolazky wrote:
> > Hi Corinna !
> > 
> > 02/28/2012 04:49 PM, ext Corinna Vinschen ÐÐÑÐÑ:
> > 
> > >This kind of delay is often a result of the process trying to
> > >access some remote filesystem.
> > 
> > How can I investigate this (is there something like "lsof" in Windows)?
> 
> There's a fuser in the psmisc package, but the latest version doesn't
> work as expected, downgrading to the previous psmisc package helps
> for now.  But I don't think this will help you here.
> 
> > If you're speaking about "process", do you mean the "sshd" process?
> 
> Any process on the server started during login.
> 
> > And what could be a reason for it to access any remote file system?
> 
> Most likely it's something in your login scripts.  For instance,
> consider expressions like this:
> 
>   my_path=/foo
>   ls /$my_path
> 
> This results in a `ls //foo' call.  // is the top-level of all UNC
> network paths.  THis call will result in Cygwin searching for a machine
> called foo.

Oh, and then again...  did you install the bash-completion package on
the server?  It's known to result in such delays sometimes.  I never
used it myself so Idon't know what it's doing.  Somebody else might
know more here.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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