From 5ed9d2643bf44c4c2a700663e8f483fef4d84e04 Mon Sep 17 00:00:00 2001 From: lash Date: Sat, 21 Sep 2024 18:56:20 +0100 Subject: [PATCH] WIP can execute single session, but persister fails in next --- cmd/ssh/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/ssh/main.go b/cmd/ssh/main.go index 5728aa6..649d2ae 100644 --- a/cmd/ssh/main.go +++ b/cmd/ssh/main.go @@ -154,6 +154,7 @@ func serve(ctx context.Context, sessionId string, ch ssh.NewChannel, mss *storag return nil } +// adapted example from crypto/ssh package, NewServerConn doc func sshRun(ctx context.Context, mss *storage.MenuStorageService, lhs *handlers.LocalHandlerService) { running := true