Dave Mello wrote:
> Hello. I just joined this group and have a question. First, I'd like
> to thank all those who have contributed to this list and to the SSHD
> documentation.
>
> I have a W2K Server running Cygwin sshd running as a service, setup
> using domain accounts according to
> http://tech.erdelynet.com/cygwin-sshd.html. I had it working without
> prompting for passwords by running "ssh-keygen -t rsa" as each
> user/workstation and appending the id_rsa.pub files from workstations
> to the appropriate /home/userid/.ssh/authorized_keys2 files. All was
> well until about 3 weeks ago when I updated the Cygwin packages.
> After that, sshd was broken to the point that I uninstalled Cygwin,
> cleaned out the registry, and reinstalled.
>
> Now I have Cygwin sshd running again, and I can login from the server
> as the domain administrator by running "ssh localhost" from a bash
> prompt. I can also login from my PC as my domain account.
>
> However, each time I login, regardless of the userid, I see about a 35
> second delay between the time the motd file is displayed and when I
> get a bash prompt.
I think that the SSH server regenerates the RSA key every time someone
logs in. Depending on server's CPU, it may take about 30 seconds.
This can be fixed with proper configuration tuning.
Anyway, you showed us a client-side log, whereas the problem is on server.
I think you should stop SSHD (NT service "CYGWIN sshd" or something like
that), and start /usr/sbin/sshd with debug parameters, and watch the
server output. Pay attention, because SSHD in debug mode terminates
after every session, and you'll have to start it again for every test.
> Does anyone have any ideas what I can do to fix the logging, and
> especially the delay? If you think you'll need to see the server side
> of things, I'll have to figure out where to get srvany to setup a test
> sshd...I look at MS but it didn't jump out at me. For now, I was
> hoping that the mention of a delay may be familiar to someone.
>
> Thank you,
> Dave
>
--
("`-''-/").___..--''"`-._ Adrian Spermezan <spadi@ravantivirus.com>
`6_ 6 ) `-. ( ).`-.__.`) Software Developer - RAV Team
(_Y_.)' ._ ) `._ `. ``-..-' GeCAD - The Software Company
_..`--'_..-_/ /--'_.' ,' ----------------------------------------
((((.-'' ((((.' (((.-' In RAV we trust !
--
List Information: http://tech.erdelynet.com/mailman/listinfo/ssh-l/
List Archives: http://erdelynet.com/archive/ssh-l/
Received on Thu Aug 1 05:36:25 2002
This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:33:38 EDT