We should configure the authentication password
This commit is contained in:
parent
766a6874df
commit
2cd64325c7
3 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
#ssh_port: 22
|
#ssh_port: 22
|
||||||
|
ssh_passwordauthentication: "yes"
|
||||||
#ssh_allowusers:
|
#ssh_allowusers:
|
||||||
# - user1
|
# - user1
|
||||||
# - user2
|
# - user2
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue