diff --git a/main.go b/main.go index ecaae6a..1c4625b 100644 --- a/main.go +++ b/main.go @@ -40,7 +40,7 @@ func main() { if err != nil { log.Fatal(err) } - block, err := ssh.MarshalPrivateKey(signer, "") + block, err := ssh.MarshalPrivateKey(key, "") if err != nil { log.Fatal("Failed to marshal host key:", err) }