From 77e3f9015516a95edbd16dd1963db2a0e98ccd81 Mon Sep 17 00:00:00 2001 From: miampf Date: Wed, 16 Apr 2025 14:26:54 +0200 Subject: [PATCH] fix: correct host key header --- internal/crypto/crypto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/crypto/crypto.go b/internal/crypto/crypto.go index c798e08ca..b302ed658 100644 --- a/internal/crypto/crypto.go +++ b/internal/crypto/crypto.go @@ -92,7 +92,7 @@ func GenerateSignedSSHHostKey(principal string, ca ssh.Signer) (*pem.Block, *ssh if err != nil { return nil, nil, err } - pemHostKey := &pem.Block{Type: "OPENSSH PRIVATE KEY", Bytes: hostKeySSH} + pemHostKey := &pem.Block{Type: "PRIVATE KEY", Bytes: hostKeySSH} certificate := ssh.Certificate{ CertType: ssh.HostCert,