From 34a6a56248ef974e7edc57b23d92a76daa5d5521 Mon Sep 17 00:00:00 2001 From: delarea Date: Tue, 7 Jan 2025 10:32:16 +0200 Subject: [PATCH] add jfrog ignore --- auth/sshlogin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/auth/sshlogin.go b/auth/sshlogin.go index de327697e..6789492f5 100644 --- a/auth/sshlogin.go +++ b/auth/sshlogin.go @@ -70,6 +70,7 @@ func getSshHeaders(sshAuth ssh.AuthMethod, host string, port int) (map[string]st sshAuth, }, //#nosec G106 -- Used to get ssh headers only. + //jfrog:ignore HostKeyCallback: ssh.InsecureIgnoreHostKey(), }