1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Evan Klitzke wrote: |
5 |
|
6 |
> I have an account on a server that lets users SSH in with password |
7 |
> based authentication. That is OK, but for my account I would prefer |
8 |
> to restrict SSH access to key based authentication. Is there an |
9 |
> option I can put somewhere in ~/.ssh/ to enforce this? |
10 |
|
11 |
All the directives listed in 'man ssh_config' can be placed in |
12 |
~/.ssh/config for individual accounts. You'll be interested in |
13 |
PasswordAuthentication, and perhaps PreferredAuthentications. |
14 |
|
15 |
Cheers ... -d |
16 |
|
17 |
- -- |
18 |
David Talkington |
19 |
|
20 |
PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc |
21 |
-----BEGIN PGP SIGNATURE----- |
22 |
Version: GnuPG v1.4.5 (GNU/Linux) |
23 |
|
24 |
iD8DBQFE4TG/5FKhdwBLj4sRApHrAJ9LMOXfwkaz5slV5B2W8RdfVbKlngCfQj3u |
25 |
kHGpnPm+NW5PqoMMjfTOb04= |
26 |
=46nm |
27 |
-----END PGP SIGNATURE----- |
28 |
-- |
29 |
gentoo-user@g.o mailing list |