Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Daniel Kjar
so what was the cure? I looked at that link but didn't see an easily recognizable fix I have had this forever. Not a big deal but makes me nervous if I think my server is down. On 10/21/12 08:30 AM, Gary Gendel wrote: I think I found it... https://www.illumos.org/issues/1983 So far,

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Gary Gendel
I think I found it... https://www.illumos.org/issues/1983 So far, so good. Logged in and out a dozen times with no lag. Gary On 10/21/12 5:00 AM, Jim Klimov wrote: 2012-10-21 9:40, Alex Smith (K4RNT) wrote: Perhaps setting UseDNS to "no" in sshd_config could help. :) Also, if you only ac

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-21 Thread Jim Klimov
2012-10-21 9:40, Alex Smith (K4RNT) wrote: Perhaps setting UseDNS to "no" in sshd_config could help. :) Also, if you only access the system from one or few external hosts, you can add their names to /etc/hosts (and give it priority in /etc/nsswitch.conf). ___

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-20 Thread Alex Smith (K4RNT)
Perhaps setting UseDNS to "no" in sshd_config could help. :) On Sat, Oct 20, 2012 at 8:58 PM, Gary Gendel wrote: > Well, my problem seems to be exactly opposite. If I restart sshd, I get > really good response at first and then it deteriorates to a several second > login delay. dig and dig -x is

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-20 Thread Gary Gendel
Well, my problem seems to be exactly opposite. If I restart sshd, I get really good response at first and then it deteriorates to a several second login delay. dig and dig -x is always fast. I even disabled reverse DNS on sshd with no difference. Every once in a while I get fast response. Th

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-19 Thread Dan Swartzendruber
Truly funny. So I start banging on this problem with truss. I notice that at some point sshd forks off a shell to run 'locale -a'. I notice that is taking several seconds longer on the slow sshd host than the other one. So I try this: time locale -a > /dev/null It takes a fraction of a seco

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-19 Thread Dan Swartzendruber
It gets odder and odder. I tried disabling sshd on both hosts and running with '-ddd' to debug. Here is the slow one: Connection from 10.0.0.1 port 40262 debug1: Client protocol version 2.0; client software version OpenSSH_5.9p1 Debi\ an-5ubuntu1 debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-19 Thread Richard Elling
On Oct 19, 2012, at 3:51 PM, "Dan Swartzendruber" wrote: > > Hi, all. I've got an issue that is bugging me. I've got an OI 151a7 VM and > ssh to it takes 15 seconds or so, then I get a prompt. It's not the usual > reverse dns or gssapi stuff, since my backup node is also OI 151a7 and it > res

Re: [OpenIndiana-discuss] Slow ssh login?

2012-10-19 Thread gary
+1 I've been trying to figure this out for years. But mine is on bare metal. I tried everything I could think of but no luck. The strange thing is that it sometimes is fast, but most times I wait about several seconds. Gary On Oct 19, 2012 6:53 PM, Dan Swartzendruber wrote: Hi, all. I've g

[OpenIndiana-discuss] Slow ssh login?

2012-10-19 Thread Dan Swartzendruber
Hi, all. I've got an issue that is bugging me. I've got an OI 151a7 VM and ssh to it takes 15 seconds or so, then I get a prompt. It's not the usual reverse dns or gssapi stuff, since my backup node is also OI 151a7 and it responds instantly to the ssh request. Google has not turned up anythin