WIP can execute single session, but persister fails in next

This commit is contained in:
lash 2024-09-21 18:56:20 +01:00
parent 8dcba67fe9
commit 5ed9d2643b
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -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