Fix main.go
This commit is contained in:
2
main.go
2
main.go
@@ -40,7 +40,7 @@ func main() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
block, err := ssh.MarshalPrivateKey(signer, "")
|
block, err := ssh.MarshalPrivateKey(key, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("Failed to marshal host key:", err)
|
log.Fatal("Failed to marshal host key:", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user