GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(desktop): SSH aliases follow port changes by juliusmarminge · Pull Request #24449 · pingdotgg/t3code

fix(desktop): SSH aliases follow port changes #24449

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.

Sign up for GitHub

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
juliusmarminge wants to merge 6 commits into main from fix/issue-7568

Uh oh!

There was an error while loading. Please reload this page.

Closed

fix(desktop): SSH aliases follow port changes #24449

Changes from 1 commit
Commits
Show all changes
6 commits
Select commit Hold shift + click to select a range
3a4e802
test(client-runtime): SSH registration saves the target as entered
juliusmarminge Oct 24, 2026
9f07e62
fix(client-runtime): SSH connections pick up ssh config changes on re…
juliusmarminge Oct 24, 2026
78d05b9
fix(client-runtime): SSH reconnects keep the alias target and routing…
juliusmarminge Oct 24, 2026
000e536
Merge remote-tracking branch 'origin/main' into fix/issue-7568
juliusmarminge Nov 11, 2026
8ec5c24
fix(web): discovered SSH aliases are kept literal
juliusmarminge Nov 11, 2026
281f402
Merge remote-tracking branch 'origin/main' into fix/issue-7568
juliusmarminge Nov 11, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Next Next commit
test(client-runtime): SSH registration saves the target as entered
Reproduces #7568: an alias added with only a username saves the port
ssh config resolved at provisioning, so reconnect keeps the old -p.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge @claude
juliusmarminge and claude committed Oct 24, 2026
commit 3a4e802ecd88af90eeeb87b8d8d1688180a5de63

There are no files selected for viewing

42 changes: 42 additions & 0 deletions 42 packages/client-runtime/src/connection/onboarding.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -588,4 +588,46 @@ describe("connection onboarding", () => {
});
}),
);

it.effect("saves the SSH target as entered so ssh config changes apply on reconnect", () =>
Effect.gen(function* () {
const target = {
alias: "devbox",
hostname: "devbox",
username: "developer",
port: null,
};
const registration = yield* prepareSshRegistration({
target,
}).pipe(
Effect.provideService(
ClientCapabilities.SshEnvironmentGateway,
ClientCapabilities.SshEnvironmentGateway.of({
provision: () =>
Effect.succeed({
environmentId: EnvironmentId.make("environment-ssh"),
label: "Remote development box",
bootstrap: {
// Resolved from ssh config at provisioning time.
target: {
alias: "devbox",
hostname: "127.0.0.1",
username: "developer",
port: 24568,
},
httpBaseUrl: "http://127.0.0.1:3201",
wsBaseUrl: "ws://127.0.0.1:3201",
pairingToken: "pairing-token",
},
bearerToken: "bearer-token",
}),
prepare: () => Effect.die("unused"),
disconnect: () => Effect.die("unused"),
}),
),
);

expect(registration.profile.target).toEqual(target);
}),
);
});
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.