Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.0.2.1.0.20010607105338.022228e0@imap.coe.utah.edu> X-Sender: jordan AT imap DOT coe DOT utah DOT edu X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 07 Jun 2001 10:53:44 -0600 To: "Michael Erdely" From: Bret Jordan Subject: RE: openssh sshd slow login In-Reply-To: <000001c0ef53$0a0aae10$051865c6@merdely> References: <000201c0ef4d$61dc9460$051865c6 AT merdely> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed I will try that. Bret At 09:09 AM 6/7/2001 -0400, you wrote: >Interesting... > >I just re-installed Cygwin (I had deleted C:\Cygwin, all Cygwin-related >reg keys) and installed the full-blown package. This time, here are the >only modifications I made: >1. ssh-host-config -y >2. chown 544 /etc/* >3. chown system.system /etc/ssh_host*_key >4. ssh-user-config -y -p '' >5. Edited /etc/sshd_config to allow password auth. >6. echo Hello>/etc/motd >7. Edited /etc/profile to include "date" at the top. >8. chmod og-w ~/.ssh >9. ssh localhost > >I was instantly shown the motd ("Hello"), the date was displayed, then I >was given a prompt. > >The _ONLY_ other change I made was in the Network Identification set up >for this Win2k SP1 Server which is a DNS server and _its_ defined DNS >server. I added my domain name to the "Primary DNS suffix of this >computer". > >So, after not having that long login time, I decided to configure my >/etc/profile (adding alias, customizing PS1, setting up a .input file to >ignore case on tab completion), modify the /etc/passwd (make usernames >lowercase, delete un-needed accounts) and /etc/group (make groups >lowercase, delete un-needed accounts) and run my script that changes >permissions on all of the files (removes og's write permissions, makes >544.544 owner of everything, then makes each user owner of his/her home >directory in /home). > >I've rebooted several times and the problem does not seem to reappear. > >Conclusion: it might have been a name resolution problem. By adding my >domain name to "Primary DNS suffix of this computer", cygwin/sshd/bash >was able to more quickly figure out it's own name (and/or the name of >the connecting machine). > >-ME > >-----Original Message----- >From: cygwin-owner AT sources DOT redhat DOT com >[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Michael Erdely >Sent: Thursday, June 07, 2001 8:29 AM >To: cygwin AT cygwin DOT com >Subject: RE: openssh sshd slow login > > >Not for me. > >Path=C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\C >ygwin\bin > >I'm re-installing right now. I can provide a cygcheck if you'd like. > >BTW: The C:\Perl is ActiveState's ActivePerl. > >-ME > >-----Original Message----- >From: cygwin-owner AT sources DOT redhat DOT com >[mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Corinna Vinschen >Sent: Thursday, June 07, 2001 8:26 AM >To: cygwin AT cygwin DOT com >Subject: Re: openssh sshd slow login > > > >That's not by chance related to having net shares in $PATH or >something similar, perhaps? > >Corinna > >On Thu, Jun 07, 2001 at 07:14:17AM -0400, Michael Erdely wrote: > > Hi... > > > > I've experienced the same problem. > > > > I put a line in my /etc/profile at the time outputting the date (so I > > can tell when the /etc/profile starts getting processed. > > > > When using ssh -v -v -v in conjunction with sshd -d -d -d using both > > password and rsa authentication, I notice that during this wait >period, > > there is no activity on the server or the client. This happens when > > connecting from localhost and from another machine on the local >segment. > > > > The /var/log/sshd.log file is empty as well. > > > > As a test, I set up inetd for using telnetd. Telnetd has the _exact_ > > behavior. > > > > To make sure that I didn't do anything wrong with my Cygwin > > installation, I re-installed from scratch without improvement. > > > > I can post the output of ssh -v -v -v & sshd -d -d -d if anyone would > > find that helpful. > > > > -ME > > > > -----Original Message----- > > From: cygwin-owner AT sources DOT redhat DOT com > > [mailto:cygwin-owner AT sources DOT redhat DOT com] On Behalf Of Karl M > > Sent: Thursday, June 07, 2001 1:15 AM > > To: cygwin AT cygwin DOT com > > Subject: openssh sshd slow login > > > > > > Hi All... > > > > I just installed cygwin on a new win2kpro-sp2 box. The installation >went > > > > much like all the others I have done, but... > > > > When I ssh into this box, it takes almost a minute for the "login" to > > complete after the authentication. I get the last login banner and >then > > I > > wait a long time. Has anyone else seen this? Am I missing something > > obvious > > (I hope) before I have to debug this? Any thoughts or suggestions > > welcome? > > > > Thanks, > > > > ...Karl > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > > > > -- > > Want to unsubscribe from this list? > > Check out: http://cygwin.com/ml/#unsubscribe-simple > > > > > > > > -- > > Want to unsubscribe from this list? > > Check out: http://cygwin.com/ml/#unsubscribe-simple > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Developer mailto:cygwin AT cygwin DOT com >Red Hat, Inc. > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bret Jordan Dean's Office LAN Manager College of Engineering 801.585.3765 University of Utah jordan AT coe DOT utah DOT edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple