Skip to content

Commit 01df482

Browse files
fix: set usage-app to vscode on coder ssh (#442)
1 parent bbcd5fd commit 01df482

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
- Remove agent singleton so that client TLS certificates are reloaded on every API request.
88
- Use Axios client to receive event stream so TLS settings are properly applied.
9+
- Set `usage-app=vscode` on `coder ssh` to fix deployment session counting.
910

1011
## [v1.4.1](https://github.com/coder/vscode-coder/releases/tag/v1.4.1) (2025-02-19)
1112

src/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ export class Remote {
627627
const proxyCommand = featureSet.wildcardSSH
628628
? `${escape(binaryPath)}${headerArg} --global-config ${escape(
629629
path.dirname(this.storage.getSessionTokenPath(label)),
630-
)} ssh --stdio --network-info-dir ${escape(this.storage.getNetworkInfoPath())}${await this.formatLogArg(logDir)} --ssh-host-prefix ${hostPrefix} %h`
630+
)} ssh --stdio --usage-app=vscode --network-info-dir ${escape(this.storage.getNetworkInfoPath())}${await this.formatLogArg(logDir)} --ssh-host-prefix ${hostPrefix} %h`
631631
: `${escape(binaryPath)}${headerArg} vscodessh --network-info-dir ${escape(
632632
this.storage.getNetworkInfoPath(),
633633
)}${await this.formatLogArg(logDir)} --session-token-file ${escape(this.storage.getSessionTokenPath(label))} --url-file ${escape(

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