From 975c61cce3b088ea53692709d444d7468b176ba6 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 23 Dec 2025 11:07:07 -0700 Subject: [PATCH] ??? --- .gitignore | 3 ++- docker-compose.yml | 2 ++ main.go | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c633a4d..0441609 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ main -yule \ No newline at end of file +yule +.ssh/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index ff8fe8c..19ea805 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,4 +4,6 @@ services: container_name: yule ports: - "${SSH_PORT:-2222}:2222" + volumes: + - ${ROOT_DIR}:/app/.ssh restart: unless-stopped diff --git a/main.go b/main.go index 3a0e85e..019c785 100644 --- a/main.go +++ b/main.go @@ -34,6 +34,7 @@ func init() { func main() { s, err := wish.NewServer( wish.WithAddress(net.JoinHostPort(host, port)), + wish.WithHostKeyPath(".ssh/id_ed25519"), wish.WithMiddleware( bubbletea.Middleware(teaHandler), activeterm.Middleware(),