feat(session): use session key for registry

This commit is contained in:
2026-01-05 00:50:42 +07:00
parent fc3cd886db
commit 8782b77b74
9 changed files with 114 additions and 49 deletions
-1
View File
@@ -88,7 +88,6 @@ func (s *Server) handleConnection(conn net.Conn) {
_, u, _ := s.grpcClient.AuthorizeConn(ctx, sshConn.User())
user = u
}
sshSession := session.New(sshConn, forwardingReqs, chans, s.sessionRegistry, user)
err = sshSession.Start()
if err != nil {