remove hostkeyalgorithm setting

This commit is contained in:
William Banfield
2022-12-05 10:17:46 -05:00
parent 143109eb28
commit 4dd0ff5621

View File

@@ -54,10 +54,9 @@ func NewClientConfig() (*ssh.ClientConfig, error) {
am = append(am, ssh.PublicKeys(signer))
}
return &ssh.ClientConfig{
User: "root",
HostKeyCallback: hkcWrapper(hkc),
Auth: am,
HostKeyAlgorithms: []string{ssh.KeyAlgoED25519},
User: "root",
HostKeyCallback: hkcWrapper(hkc),
Auth: am,
}, nil
}