Gentoo Archives: gentoo-user

From: Shawn Wilson <ag4ve.us@×××××.com>
To: gentoo-user@l.g.o, "Stefan G. Weichinger" <lists@×××××.at>
Subject: Re: [gentoo-user] ssh hanging ... why?
Date: Wed, 18 Sep 2013 18:03:53
Message-Id: 9fd4123a-d872-4fac-8714-7896f1f1d5e7@email.android.com
In Reply to: Re: [gentoo-user] ssh hanging ... why? by "Stefan G. Weichinger"
1 Since the downgrade fixed your issue idk... but, what does your authorized_keys look like? Also, move or chmod 0 your config to make sure nothing funny is happening there.
2
3 "Stefan G. Weichinger" <lists@×××××.at> wrote:
4 >Am 18.09.2013 19:47, schrieb Joe Nyland:
5 >> Not sure why a downgraded openssh would improve things for you if
6 >> this is the issue, however I faced the same issue as yourself and it
7 >> was caused by mDNS trying to do a reverse lookup on the host
8 >> connecting in to the affected server, ultimately causing the SSH
9 >> connection to hang.
10 >>
11 >> Check that the order of sources on the hosts line of you
12 >> /etc/nsswitch.conf[1] file on the server that you are having issues
13 >> _connecting to_, not the desktop that you're connecting from.
14 >>
15 >> Mine is:
16 >>
17 >> `hosts: files dns mdns4_minimal mdns4`
18 >>
19 >> Note `dns` is before `mdns4`.
20 >>
21 >> [1] http://linux.die.net/man/5/nsswitch.conf
22 >
23 >Thanks for your feedback.
24 >
25 >The server doesn't have mdns in there, just:
26 >
27 >hosts: files dns
28 >
29 >(which hasn't been changed in years, I am quite sure).
30 >
31 >So you suggest that the contacted server wants to know which FQDN the
32 >contacting IP points to?
33 >
34 >Stefan

Replies

Subject Author
Re: [gentoo-user] ssh hanging ... why? "Stefan G. Weichinger" <lists@×××××.at>