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