diff --git a/hosts/dialer.go b/hosts/dialer.go index 70f300ea..32f479c2 100644 --- a/hosts/dialer.go +++ b/hosts/dialer.go @@ -143,7 +143,7 @@ func checkEncryptedKey(sshKey, sshKeyPath string) (ssh.Signer, error) { return nil, err } } - return key, nil + return key, err } func privateKeyPath(sshKeyPath string) string {