delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/23/18:18:32

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=Y9xquFf
6tvLZ3XX+45pLJ5cTQ3hJ7UYcsbHsBodK7mj4FkKxuhHMBdjVOlBgGmSn3AOIxu6
cfW7PraD9kh9NTbJCgRC7tyyG1tPPLZHny8TKbLebiuLNCxIRCwYaxHR+697mURg
lJ3ztSyJ3BRUqVK6SUpqxCXfOKNN5/i3i+Y4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=iphCYysoLxmtO
Zzs13JtSzg52zE=; b=LFCY8zzWAMOrk+YwRE8t9QvLMZwL2R/3Z76pzg3MDuYP4
ZLIHaTxc0ehcEa2gF40Zp6veMI2HK5CODdNDBCyQRcYu4j0MT728OyHuAOjx17Sq
xGH7pBsosfddT4XNrC9ao/Aj/vnHHQF/CGvGwCSwkmn9Jq9CWvdTh75mcBu078=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f170.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=yknLb3YYJ5siWPgWT812J8/O61wenU5RFwbezK0xCKw=; b=Ka7ckMgpy22AwBLlHRfQEqpXRIc9PGJ1kUSg8ktY+2Hh4ZZeiUjiHtGeSiLFpwjebM f+APzgZ7ger56YqMXNycEzo18BEAGGs5+kUdfbqA7QSgR0alSr6jWdYOn7evd/G8z++k 3IhiHQIBT5jWZavrdFUelGCRDvKSxWwAxLt8fuTBgywIv1OCtSXwGshWuYy6HXi7D6Iu +eCEXHF7gAYr2lu5+hCRBeddEzuONZ1i5NCmOvr9cb41NPd85kyoBuI9OZvnSnOf+ctw JGHRmLHOgeUN49d8Ah7ouPprgdDvA6MgmdLNjCUkOJgpD5iMQH6trwwEWBoy/dIH9Xon HqZw==
X-Gm-Message-State: ALoCoQmacDBNXCapalm9NjsGciIdspQ51Bym3BW4LZDF5JlIs24pCm9oPSaGQkiTv7exnp4mFaeF
X-Received: by 10.180.13.174 with SMTP id i14mr3964879wic.49.1382566694163; Wed, 23 Oct 2013 15:18:14 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAFMFxW6JXrOJpq9HzggYpJxUP+bmeUJYiQ8YeBrvjYWaVHRH6Q@mail.gmail.com>
References: <CAFMFxW6JXrOJpq9HzggYpJxUP+bmeUJYiQ8YeBrvjYWaVHRH6Q AT mail DOT gmail DOT com>
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
Date: Wed, 23 Oct 2013 23:17:34 +0100
Message-ID: <CA+kUOakL7t6eKrZxiuBb3iTtfCbWXRCA+pyq0LGWTA2b8gVQ1w@mail.gmail.com>
Subject: Re: Long wait until SSH drops you to cygwin prompt...
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On 23 October 2013 21:13, Troy Cleland wrote:
> We are having issues with users that are connecting to our cygwin ssh
> server taking a long time to drop them to the prompt after login.
>
> Example
>
> I use putty from my windows environment and connect it prompts for
> username and pw and then shows the message of last login and then sits
> for about 2 mins or longer to actually drop me to the prompt in
> cygwin.
>
>
> Its like the hand off from the authentication to cygwin prompt is
> getting caught somewhere in the process. This happens with people
> using mac or windows, doesnt seem to matter.

It'd be helpful to break down the login process and see what's taking the time;
you could try, for example, explicitly running `/bin/dash` on login to see if
that speeds things up, which would point to the problem being something
bash-specific.

As a specific hint, you may want to try disabling/removing the bash-completion
package, if you have that installed.  I've noted previously that this slows
down Bash's start-up time significantly:
http://cygwin.com/ml/cygwin/2013-03/msg00383.html

Adam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019