From 9392a6780bcf7c851e205efbe1056095d9b6ab10 Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Mon, 25 Oct 2021 17:24:32 +0200 Subject: [PATCH] chages per review requests Signed-off-by: Matej Vasek --- internal/sshdialer/ssh_dialer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/sshdialer/ssh_dialer.go b/internal/sshdialer/ssh_dialer.go index 0c2af46429..83c247c102 100644 --- a/internal/sshdialer/ssh_dialer.go +++ b/internal/sshdialer/ssh_dialer.go @@ -330,9 +330,6 @@ func signersToAuthMethods(signers []ssh.Signer) []ssh.AuthMethod { // Dedup signers based on fingerprint, ssh-agent keys override explicit identity for _, s := range signers { fp := ssh.FingerprintSHA256(s.PublicKey()) - //if _, found := dedup[fp]; found { - // key updated - //} dedup[fp] = s }