mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
added option to disable trivial auth methods (#128)
* added option to disable trivial auth methods * rename argument to match with other ssh clients * fixed trivial auth detection for pubkeys
This commit is contained in:
@@ -114,6 +114,7 @@ void recv_msg_userauth_info_request() {
|
||||
m_free(instruction);
|
||||
|
||||
for (i = 0; i < num_prompts; i++) {
|
||||
cli_ses.is_trivial_auth = 0;
|
||||
unsigned int response_len = 0;
|
||||
prompt = buf_getstring(ses.payload, NULL);
|
||||
cleantext(prompt);
|
||||
|
||||
Reference in New Issue
Block a user