Public-Key-basierte Anmeldung (public-key-based logon)

Guten Tag

Wie erzwingt man eine Public-Key-basierte Anmeldung bei UCS 4.2 ?
(How do I force a public-key-based logon at UCS 4.2 ?)

Gruss Alex

Hi,

have a look into /etc/univention/templates/files/etc/ssh/sshd_config - from there sshd_config is generated.

To forbid password-auth and force pubkey-auth, you have to set this:

ucr set sshd/permitroot="without-password"
ucr set sshd/challengeresponse="no"
ucr set sshd/passwordauthentication="no"

regards
/thorsten

2 Likes
Mastodon