Skip to content

fix(agent): add tracking for JetBrains Gateway and Fleet #10491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
correct comments
  • Loading branch information
matifali committed Nov 2, 2023
commit cd30f28eb682001f54c9904a3b0d00330527ecde
4 changes: 2 additions & 2 deletions agent/agentssh/agentssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ func (s *Server) sessionStart(session ssh.Session, extraEnv []string) (retErr er
for _, kv := range env {
switch {
case strings.HasPrefix(kv, "TERMINAL_EMULATOR=JetBrains-JediTerm"):
magicType = MagicSessionTypeJetBrains // Set as JetBrains Gateway type
magicType = MagicSessionTypeJetBrains
case strings.HasPrefix(kv, "TERM_PROGRAM=Jetbrains.Fleet"):
magicType = MagicSessionTypeJetBrains // Set as Fleet type
magicType = MagicSessionTypeJetBrains
default:
continue
}
Expand Down