diff options
author | Manfred Kaiser <37737811+manfred-kaiser@users.noreply.github.com> | 2021-08-19 17:37:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 23:37:14 +0800 |
commit | 210a9833496ed2a93b8da93924874938127ce0b5 (patch) | |
tree | b7bbba8079879cc3bc057a2eba8433f0e0ae4094 /cli-session.c | |
parent | 69e5709f75981bf0f5147c5f1d95a0f4fdf11b6f (diff) |
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
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c index 699286d..eee760e 100644 --- a/cli-session.c +++ b/cli-session.c @@ -165,6 +165,7 @@ static void cli_session_init(pid_t proxy_cmd_pid) { /* Auth */ cli_ses.lastprivkey = NULL; cli_ses.lastauthtype = 0; + cli_ses.is_trivial_auth = 1; /* For printing "remote host closed" for the user */ ses.remoteclosed = cli_remoteclosed; |