From e0f521da903d8af06ffe2f2ee63e1bf875d93d7c Mon Sep 17 00:00:00 2001 From: iuu <2167162990@qq.com> Date: Fri, 21 Feb 2025 10:36:27 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20sshtunnel/config.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增密钥登陆功能 --- sshtunnel/config.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sshtunnel/config.go b/sshtunnel/config.go index 0f413e4..71d1c6a 100644 --- a/sshtunnel/config.go +++ b/sshtunnel/config.go @@ -10,4 +10,6 @@ type Config struct { User string `json:"user"` Pass string `json:"pass,omitempty"` Tunnels []Tunnel `json:"tunnels,omitempty"` + Key string `json:"key,omitempty"` + KeyPass string `json:"keyPass,omitempty"` }