We should configure the authentication password

This commit is contained in:
Adrien Reslinger 2019-02-18 08:55:43 +01:00
parent 766a6874df
commit 2cd64325c7
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
--- ---
#ssh_port: 22 #ssh_port: 22
ssh_passwordauthentication: "yes"
#ssh_allowusers: #ssh_allowusers:
# - user1 # - user1
# - user2 # - user2

View file

@ -63,7 +63,7 @@ PermitRootLogin without-password
# To disable tunneled clear text passwords, change to no here! # To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes #PasswordAuthentication yes
#PermitEmptyPasswords no #PermitEmptyPasswords no
PasswordAuthentication yes PasswordAuthentication {{ ssh_passwordauthentication }}
# Change to no to disable s/key passwords # Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes #ChallengeResponseAuthentication yes

View file

@ -83,7 +83,7 @@ AuthorizedKeysFile .ssh/authorized_keys
# To disable tunneled clear text passwords, change to no here! # To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes #PasswordAuthentication yes
#PermitEmptyPasswords no #PermitEmptyPasswords no
PasswordAuthentication yes PasswordAuthentication {{ ssh_passwordauthentication }}
# Change to no to disable s/key passwords # Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes #ChallengeResponseAuthentication yes