From: Joe Nyland <lists@joenyland.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ssh hanging ... why?
Date: Wed, 18 Sep 2013 18:47:12 +0100 [thread overview]
Message-ID: <3F839DBD-DBF4-41D2-A187-F47A9855207E@joenyland.co.uk> (raw)
In-Reply-To: <523978AC.3020302@xunil.at>
On 18 Sep 2013, at 10:55, Stefan G. Weichinger <lists@xunil.at> wrote:
> Am 18.09.2013 11:53, schrieb Stefan G. Weichinger:
>
>> Rebuilt openssh already.
>>
>> Maybe I should downgrade for testing ...
>>
>> The problematic box: net-misc/openssh-6.2_p2-r4
>> The working box: net-misc/openssh-5.9_p1-r4
>
> Yep. Downgrading works for me.
>
>
Not sure why a downgraded openssh would improve things for you if this is the issue, however I faced the same issue as yourself and it was caused by mDNS trying to do a reverse lookup on the host connecting in to the affected server, ultimately causing the SSH connection to hang.
Check that the order of sources on the hosts line of you /etc/nsswitch.conf[1] file on the server that you are having issues _connecting to_, not the desktop that you're connecting from.
Mine is:
`hosts: files dns mdns4_minimal mdns4`
Note `dns` is before `mdns4`.
[1] http://linux.die.net/man/5/nsswitch.conf
Joe
next prev parent reply other threads:[~2013-09-18 17:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-18 9:53 [gentoo-user] ssh hanging ... why? Stefan G. Weichinger
2013-09-18 9:55 ` Stefan G. Weichinger
2013-09-18 17:47 ` Joe Nyland [this message]
2013-09-18 17:50 ` Stefan G. Weichinger
2013-09-18 18:03 ` Shawn Wilson
2013-09-18 18:13 ` Stefan G. Weichinger
2013-09-18 19:01 ` Shawn Wilson
2013-09-18 20:48 ` Stefan G. Weichinger
2013-09-19 3:43 ` shawn wilson
2013-09-18 19:35 ` [gentoo-user] re ssh hangs James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F839DBD-DBF4-41D2-A187-F47A9855207E@joenyland.co.uk \
--to=lists@joenyland.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox