Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2006 17:04:51 +0200
From:      Lothar Braun <mail@lobraun.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: problems ssh'ing debug1: An invalid name was supplied (OSX client)
Message-ID:  <200610101704.52830.mail@lobraun.de>
In-Reply-To: <226ae0c60610100729s540ad6a4qa8a259416dcd3452@mail.gmail.com>
References:  <226ae0c60610100729s540ad6a4qa8a259416dcd3452@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1301780.47Xu71Z1dg
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 10 October 2006 16:29, David Robillard wrote:
> >> any clues why ssh is hanging before a prompt is provided from the
> >> server side. this prompt stalling behavior is only happening when I
> >> am coming from my OSX ssh client. Any clues on this? I have never see
> >> this betwe.
>
> I had this problem when DNS was broken for the FreeBSD server and the
> MacOS X client. Make sure the DNS you're using can resolve both
> forward and reverse for the client and the server. Then your ssh
> session will be fast and free of this error.

If you're not able (or don't want to =3D)) fix the DNS, you can reconfigure=
 the=20
sshd on the server.
Add

UseDNS no

to it's /etc/ssh/sshd_config and restart the ssh daemon (this will make ssh=
d=20
stop to look up the hostnames of the connecting clients)

Best regards,
Lothar

--nextPart1301780.47Xu71Z1dg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQBFK7aUCllgm08lUqkRAiImAJ9+/ZGDJrQuCVVOp+tGvXExH6b5VACfYpK3
ngaybtXH9Q1Xm/NdQ00xMPA=
=axUY
-----END PGP SIGNATURE-----

--nextPart1301780.47Xu71Z1dg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610101704.52830.mail>