WIP can execute single session, but persister fails in next
This commit is contained in:
parent
8dcba67fe9
commit
5ed9d2643b
@ -154,6 +154,7 @@ func serve(ctx context.Context, sessionId string, ch ssh.NewChannel, mss *storag
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// adapted example from crypto/ssh package, NewServerConn doc
|
||||||
func sshRun(ctx context.Context, mss *storage.MenuStorageService, lhs *handlers.LocalHandlerService) {
|
func sshRun(ctx context.Context, mss *storage.MenuStorageService, lhs *handlers.LocalHandlerService) {
|
||||||
running := true
|
running := true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user