Re: Welke SSH key?
Diederik de Haas schreef op do 15-06-2017 om 18:59 [+0200]:
> On donderdag 15 juni 2017 18:34:20 CEST Patrick Kox wrote:
> > > Kan je er iets meer over vertellen?
> >
> > Natuurlijk,
>
> Helemaal top! Dank je wel.
Diederik,
nog even een extra opmerking,
om ervoor te zorgen dat je niet met een password kunt inloggen (en dus
enkel met key/openPGP card) moet je het volgende doen:
***
By default PasswordAuthentication is set to yes, even if you comment it
out. That's the case in your /etc/ssh/sshd_config.
You need to explicitly set it to no to allow only Public Key
Authentication.
# Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
And restart sshd service ssh restart.
***
bron AskUbuntu: https://askubuntu.com/questions/346857/how-do-i-force-s
sh-to-only-allow-uses-with-a-key-to-log-in
ze raden ook aan om ChallengeResponseAuthentication op no te zetten,
maar bij mij was dit reeds het geval.
Patrick
Reply to: