feat: adding keys
This commit is contained in:
1
main.go
1
main.go
@ -262,6 +262,7 @@ const (
|
||||
func initServer() {
|
||||
s, err := wish.NewServer(
|
||||
wish.WithAddress(net.JoinHostPort(host, port)),
|
||||
wish.WithHostKeyPath(".ssh/id_ed25519"),
|
||||
wish.WithMiddleware(
|
||||
bubbletea.Middleware(teaHandler),
|
||||
activeterm.Middleware(), // Bubble Tea apps usually require a PTY.
|
||||
|
Reference in New Issue
Block a user