multi-step auth: don't advertise password method if it is disabled

also rename the settings to password_authentication so it is more like
OpenSSH, add some test cases and improve documentation
This commit is contained in:
Nicola Murino
2020-09-01 19:34:40 +02:00
parent 8391b19abb
commit a59163e56c
6 changed files with 76 additions and 33 deletions

View File

@@ -29,7 +29,8 @@
"pwd",
"scp"
],
"keyboard_interactive_auth_hook": ""
"keyboard_interactive_auth_hook": "",
"password_authentication": true
},
"ftpd": {
"bind_port": 0,