From fda2146b485281721afc9b3fcac94f54a39305dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Papp?= Date: Tue, 30 Dec 2025 10:05:57 +0100 Subject: [PATCH] Add ssh related flags --- client/cmd/login.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/cmd/login.go b/client/cmd/login.go index 1ddddd3f1..9d94430f3 100644 --- a/client/cmd/login.go +++ b/client/cmd/login.go @@ -438,6 +438,12 @@ func setupSetConfigReqForLogin(cfg *proto.GetConfigResponse, profileName, userna req.DisableNotifications = &cfg.DisableNotifications req.LazyConnectionEnabled = &cfg.LazyConnectionEnabled req.BlockInbound = &cfg.BlockInbound + req.DisableSSHAuth = &cfg.DisableSSHAuth + req.EnableSSHRoot = &cfg.EnableSSHRoot + req.EnableSSHSFTP = &cfg.EnableSSHSFTP + req.EnableSSHLocalPortForwarding = &cfg.EnableSSHLocalPortForwarding + req.EnableSSHRemotePortForwarding = &cfg.EnableSSHRemotePortForwarding + req.SshJWTCacheTTL = &cfg.SshJWTCacheTTL return &req }