SSH root login with keys only

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Apr 5 09:01:13 UTC 2010


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

On 04/04/2010 22:04:35, Marcin Wisnicki wrote:
> Is it possible to configure sshd such that both conditions are met:
> 
> 1. Root will be able to login only by using keys
> 2. Normal users will still be able to use pam/keyboard-interactive

Only by running two instances of sshd on different ports / IP numbers.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku5ptQACgkQ8Mjk52CukIzONACeNdDCGVl8z+aqYx2s3N1IhMXx
hOMAn0uQJYWRaOLeUR+Nz6npMyKz2hws
=V0EV
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list