mirror of
https://github.com/1f349/orchid.git
synced 2025-02-05 22:16:42 +00:00
Add HostKeyAlgorithms field
This commit is contained in:
parent
b642957aaf
commit
432c907303
@ -148,6 +148,7 @@ func (a *Agent) syncSingleAgentCertPair(startTime time.Time, row database.FindAg
|
|||||||
Auth: []ssh.AuthMethod{
|
Auth: []ssh.AuthMethod{
|
||||||
ssh.PublicKeys(a.sshKey),
|
ssh.PublicKeys(a.sshKey),
|
||||||
},
|
},
|
||||||
|
HostKeyAlgorithms: []string{"ssh-ed25519"},
|
||||||
HostKeyCallback: ssh.FixedHostKey(hostPubKey),
|
HostKeyCallback: ssh.FixedHostKey(hostPubKey),
|
||||||
Timeout: time.Second * 30,
|
Timeout: time.Second * 30,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user