Skip to content

Commit

Permalink
fix: use host key path
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jan 11, 2022
1 parent f2c06ac commit a558f05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/wishlist/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func main() {
config.Factory = func(e wishlist.Endpoint) (*ssh.Server, error) {
return wish.NewServer(
wish.WithAddress(e.Address),
wish.WithHostKeyPath(filepath.Join(k.KeyDir, "server_ed25519")),
wish.WithMiddleware(
append(
e.Middlewares,
Expand Down

0 comments on commit a558f05

Please sign in to comment.