default to ed25519 (#111)

* s/rsa/ed25519/g

* s/rsakey/ed25519key/g

* ed25519 server key
This commit is contained in:
Boshi Lian 2022-12-09 06:10:49 -08:00 • committed by GitHub
parent a447e2e60b
commit 740e31dffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 60 deletions

View file

@ -94,7 +94,7 @@ func main() {
Name: "server-key",
Aliases: []string{"i"},
Usage: "server key files, support wildcard",
Value: "/etc/ssh/ssh_host_rsa_key",
Value: "/etc/ssh/ssh_host_ed25519_key",
EnvVars: []string{"SSHPIPERD_SERVER_KEY"},
},
&cli.DurationFlag{