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