From 70aea54e85c5a0793612569a276852a36f224f2e Mon Sep 17 00:00:00 2001 From: NI Date: Wed, 11 Sep 2019 16:42:36 +0800 Subject: [PATCH] Fix the wrong value of AUTHMETHOD_NONE. --- ui/commands/ssh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/commands/ssh.js b/ui/commands/ssh.js index 3a1ac94..f6be139 100644 --- a/ui/commands/ssh.js +++ b/ui/commands/ssh.js @@ -27,7 +27,7 @@ import * as history from "./history.js"; import * as strings from "./string.js"; import Exception from "./exception.js"; -const AUTHMETHOD_NONE = 0x01; +const AUTHMETHOD_NONE = 0x00; const AUTHMETHOD_PASSPHRASE = 0x01; const AUTHMETHOD_PRIVATE_KEY = 0x02;