version 1.19, 2020/10/18 11:32:01 |
version 1.20, 2021/12/19 22:12:07 |
|
|
extern ServerOptions options; |
extern ServerOptions options; |
|
|
static int |
static int |
userauth_passwd(struct ssh *ssh) |
userauth_passwd(struct ssh *ssh, const char *method) |
{ |
{ |
char *password; |
char *password; |
int authenticated = 0, r; |
int authenticated = 0, r; |
|
|
|
|
Authmethod method_passwd = { |
Authmethod method_passwd = { |
"password", |
"password", |
|
NULL, |
userauth_passwd, |
userauth_passwd, |
&options.password_authentication |
&options.password_authentication |
}; |
}; |