Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix!: use names not IDs for agent SSH key seed#17258

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
spikecurtis merged 1 commit intomainfromspike/ssh-key-seed
Apr 4, 2025

Conversation

spikecurtis
Copy link
Contributor

Changes the SSH host key seeding to use the owner username, workspace name, and agent name. This prevents SSH from complaining about a mismatched host key if you use Coder Desktop to connect, and delete and recreate your workspace with the same name. Previously this would generate a different key because the workspace ID changed.

We also include the owner's username in anticipation of using Coder Desktop to access shared workspaces (or as a superuser) down the road, so that workspaces with the same name owned by different users will not have the same key.

This change isBREAKING in a limited sense that early access users of Coder Desktop will see their SSH clients complain about host keys changing the first time each workspace is rebuilt with this code. It can be resolved by clearing your.ssh/known_hosts file of the Coder workspaces you access this way.

@spikecurtisspikecurtis added the release/breakingThis label is applied to PRs to detect breaking changes as part of the release process labelApr 4, 2025
@spikecurtisspikecurtis self-assigned thisApr 4, 2025
@github-actionsgithub-actionsbot changed the titlefix: use names not IDs for agent SSH key seedfix!: use names not IDs for agent SSH key seedApr 4, 2025
return 42, err
}
// null separators between strings so that (dog, foodstuff) is distinct from (dogfood, stuff)
_, err = h.Write([]byte{0})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

👍🏻

@spikecurtisspikecurtis merged commitf6bf6c6 intomainApr 4, 2025
33 checks passed
@spikecurtisspikecurtis deleted the spike/ssh-key-seed branchApril 4, 2025 08:51
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 4, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

@ethanndicksonethanndicksonAwaiting requested review from ethanndickson

Assignees

@spikecurtisspikecurtis

Labels
release/breakingThis label is applied to PRs to detect breaking changes as part of the release process
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp