Possible Duplicate:
ssh delay when connecting
This is a toss up between superuser and serverfault but I figure it's more a serverfaulty question.
I do development on a solaris box...
uname -a
SunOS sandbox 5.10 Generic_120011-14 sun4u sparc SUNW,UltraAX-i2
so I am constantly sshing to it via putty.
when I connect to it, I immediately get
Using username "stu".
Authenticating with public key "imported-openssh-key" from agent
and then it sits there for 10-20 seconds before I get my shell prompt. Never used to happen, only started recently since I've been screwing around with Xvnc, but I killed everything and I get no errors anywhere that I can find.
When I watch the /var/adm/messages file, I get this
May 15 14:16:10 sandbox sshd[15306]: [ID 800047 auth.info] Accepted publickey for stu from 10.8.5.14 port 3363 ssh2
and then a delay, and then I get my prompt. How can I find out what's going on that's taking so long for the shell to start?