-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evan Klitzke wrote:

I have an account on a server that lets users SSH in with password
based authentication.  That is OK, but for my account I would prefer
to restrict SSH access to key based authentication.  Is there an
option I can put somewhere in ~/.ssh/ to enforce this?

All the directives listed in 'man ssh_config' can be placed in ~/.ssh/config for individual accounts. You'll be interested in PasswordAuthentication, and perhaps PreferredAuthentications.

Cheers ... -d

- --
David Talkington

PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE4TG/5FKhdwBLj4sRApHrAJ9LMOXfwkaz5slV5B2W8RdfVbKlngCfQj3u
kHGpnPm+NW5PqoMMjfTOb04=
=46nm
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list

Reply via email to