Skip to content

Commit 3481ba1

Browse files
authored
feat: add ssh session tracking environment variable for monitoring (#63)
1 parent f418931 commit 3481ba1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/remote.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ export class Remote {
451451
StrictHostKeyChecking: "no",
452452
UserKnownHostsFile: "/dev/null",
453453
LogLevel: "ERROR",
454+
// This allows for tracking the number of extension
455+
// users connected to workspaces!
456+
SetEnv: "CODER_SSH_SESSION_TYPE=vscode",
454457
}
455458

456459
await sshConfig.update(sshValues)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy