X-Recipient: archive-cygwin@delorie.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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=XrsbCpyFqcKF9zeP
	mBH3vFt+vQAZLD9CXZ2r50B1ZjFpfJudcaoQfENEjZI4+sgzp3nR/bhce/wPIgKj
	jSwuZUS5Kk/Gol1p9+DOKeJ1i0NtBVaw6g2N4z+4/JLPDAkK+LK/54dqEYi3kHFP
	s1u2yKsvfHIgfbYk1UmLXKy8n9Y=
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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=w6x3SmmZOR+DBlVCssimSs
	kS7hY=; b=LoT38Q4IVzx298QdpilRMun4MBFrHDze+4f2/FV5V1HZ/zaqBEAYBV
	ELdD6VDnZkMru4rVFPTMkgq7prziYvLDvnXh9PKJZVqmEVQsjfFo0AtP3jIn43qV
	1gKGkN5GDIDUscLe+cnazZVFJ2U7qYMncBFnWKTCqYIGRRlBrXBlk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173017pub.verizon.net
Message-id: <52DD6B7C.3050008@cygwin.com>
Date: Mon, 20 Jan 2014 13:31:24 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin slow to drop to bash
References: <CAFMFxW4vvA_dZBuMtq1itOct7JEk6TX3WTtMo+kCk27=KEKgNg@mail.gmail.com>
In-reply-to: <CAFMFxW4vvA_dZBuMtq1itOct7JEk6TX3WTtMo+kCk27=KEKgNg@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 1/20/2014 10:35 AM, Troy Cleland wrote:
> We have ran into an issue with cygwin ssh dropping to bash takes a
> long time after we had to do a uninstall and reinstall of cygwin.
>
> We shutdown the service and removed the service. Deleted the entry in
> path, registry keys, and directory it was installed in.
>
> But when we reinstalled it, now we have an issue with ssh taking
> forever to drop to bash, like 1-3 mins to get to the bash prompt.
>
> Not sure if we missed something during uninstall. Would like to see
> what we might have missed. Anyone have any ideas or where to look?

Check your RC files.  If you suspect the problem could be related to
them but aren't sure where the slow-down occurs, add 'set -x' to your
'/etc/profile' and see if there are any pauses in output.  If you
suspect a connection issue, you can turn on verbosity on the client
and/or add debugging flags to the sshd service (don't attempt this
from the command line!)

-- 
Larry

_____________________________________________________________________

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

