Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2004 14:04:17 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Dragoncrest <dragoncrest@voyager.net>
Cc:        questions@freebsd.org
Subject:   Re: Problem with ssh
Message-ID:  <20040212200417.GF17922@nkinkade>
In-Reply-To: <200402121949.i1CJnI5q083815@mail5.mx.voyager.net>
References:  <200402121949.i1CJnI5q083815@mail5.mx.voyager.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--gneEPciiIl/aKvOT
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 12, 2004 at 02:49:17PM -0500, Dragoncrest wrote:
> Hi again everyone.  Ok, this issue just popped up today on a different
> machine, but it's still bugging me either way.  My home mail server
> (freebsd 4.8) has SSH available to the internet so I can get into the
> box from work if need be.  That is the only port open as it's a fetching
> mail server so port 25 isn't available to the rest of the world.  Nor is
> 110.  What I just discovered today is that my sshd is allowing auth by
> public key OR password.  I don't want it to auth by password.  JUST
> public key.  So in other words if you don't already have the public key
> file, well, it sucks being you because you won't get connected.
>=20
> Anyone know how to do this?  Or would this question be better handled on
> an SSH mailing list?  If so, which list is best and how do I sign up?=20
> Much apreciated on the info.  Thanks.

Uncomment the following line /etc/ssh/sshd_config and HUP sshd:

#PasswordAuthentication yes

Nathan
--=20
gpg --keyserver pgp.mit.edu --recv-keys D8527E49

--gneEPciiIl/aKvOT
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAK9xBO0ZIEthSfkkRAn0/AJ9qwGevxClCZtOF+dVkTZBg9D/6ngCfQWHU
Enq1NaTPuYEFDukQEAQVD0k=
=zciA
-----END PGP SIGNATURE-----

--gneEPciiIl/aKvOT--



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