Re: [gentoo-user] ssh rekeying slow ?

2014-06-26 Thread Stefan G. Weichinger
Am 26.06.2014 06:07, schrieb Dale:

 I ran into a issue like this once a long time ago.  I had something
 wrong with my hosts file if I recall correctly.  It never did make sense
 as to how it messed things up but after fixing that, it worked fine. 
 So, I'd look at the hosts file and see if anything is amiss there.  I'm
 pretty sure that is the file that was messed up tho. 
 
 Hope that helps. 

thanks for the suggestion.
I don't see anything strange in the hosts file(s).

For now I keep pam_systemd commented out. Maybe I upgrade to systemd 214
on that server ... ssh-ing to my main workstation works fine with that
line in /etc/pam.d/system-auth ... so maybe it's related to the release
of systemd.

Stefan




Re: [gentoo-user] ssh rekeying slow ?

2014-06-26 Thread Alan McKinnon
On 26/06/2014 12:45, Stefan G. Weichinger wrote:
 Am 26.06.2014 06:07, schrieb Dale:
 
 I ran into a issue like this once a long time ago.  I had something
 wrong with my hosts file if I recall correctly.  It never did make sense
 as to how it messed things up but after fixing that, it worked fine. 
 So, I'd look at the hosts file and see if anything is amiss there.  I'm
 pretty sure that is the file that was messed up tho. 

 Hope that helps. 
 
 thanks for the suggestion.
 I don't see anything strange in the hosts file(s).
 
 For now I keep pam_systemd commented out. Maybe I upgrade to systemd 214
 on that server ... ssh-ing to my main workstation works fine with that
 line in /etc/pam.d/system-auth ... so maybe it's related to the release
 of systemd.
 
 Stefan
 
 
 
 


Is your delay about 30 seconds?
If so, that's almost certain to be related to dns lookups (30 seconds
being the magic timeout that almost everything seems to use)

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] ssh rekeying slow ?

2014-06-26 Thread Stefan G. Weichinger
Am 26.06.2014 12:54, schrieb Alan McKinnon:

 Is your delay about 30 seconds?

hmm, I think it was shorter ... but around that, yes.

 If so, that's almost certain to be related to dns lookups (30 seconds
 being the magic timeout that almost everything seems to use)

Which hosts might it be then?
The one on the server I want to reach?

reverse-lookup for the contacting clients IP?

I already activated:

UseDNS no


S





Re: [gentoo-user] ssh rekeying slow ?

2014-06-26 Thread Alan McKinnon
On 26/06/2014 15:12, Stefan G. Weichinger wrote:
 Am 26.06.2014 12:54, schrieb Alan McKinnon:
 
 Is your delay about 30 seconds?
 
 hmm, I think it was shorter ... but around that, yes.
 
 If so, that's almost certain to be related to dns lookups (30 seconds
 being the magic timeout that almost everything seems to use)
 
 Which hosts might it be then?
 The one on the server I want to reach?
 
 reverse-lookup for the contacting clients IP?



I don't know, I can't see your logs.



-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] ssh rekeying slow ?

2014-06-25 Thread Dale
Stefan G. Weichinger wrote:
 When I ssh into a server in my basement, this takes way more time than
 usual.

 I don't have a clue what might have changed ... aside from usual
 updating. I rebuilt and restarted openssh down there without a change.

 This is a bit annoying when logging in and using git to pull/push stuff
 from/to there.

 Does anyone have an idea what I could do to fix that?

 Stefan


I ran into a issue like this once a long time ago.  I had something
wrong with my hosts file if I recall correctly.  It never did make sense
as to how it messed things up but after fixing that, it worked fine. 
So, I'd look at the hosts file and see if anything is amiss there.  I'm
pretty sure that is the file that was messed up tho. 

Hope that helps. 

Dale

:-)  :-)