Skip to content
Snippets Groups Projects
Commit f824b630 authored by drebs's avatar drebs
Browse files

Forbid password authentication on SSH

parent 79817984
No related branches found
No related tags found
1 merge request!36Forbid password authentication on SSH
Pipeline #190551 failed
......@@ -14,6 +14,7 @@ class profile::sshd (
$permit_root_login_str = $permit_root_login ? { true => 'yes', default => 'no' }
$default_options = {
'PasswordAuthentication' => 'no',
'PermitRootLogin' => $permit_root_login_str,
'Port' => [ String($ssh_port) ],
'X11Forwarding' => 'no',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment