René's URL Explorer Experiment


Title: Automatically update coder SSH config on `coder create` and `coder delete` · Issue #2153 · coder/coder · GitHub

Open Graph Title: Automatically update coder SSH config on `coder create` and `coder delete` · Issue #2153 · coder/coder

X Title: Automatically update coder SSH config on `coder create` and `coder delete` · Issue #2153 · coder/coder

Description: Feature request It would be nice if we could automatically update coder SSH config on coder create and coder delete. With #1900 merged, the coder SSH config is now a separate file we can safely edit without causing trouble for the user (...

Open Graph Description: Feature request It would be nice if we could automatically update coder SSH config on coder create and coder delete. With #1900 merged, the coder SSH config is now a separate file we can safely edi...

X Description: Feature request It would be nice if we could automatically update coder SSH config on coder create and coder delete. With #1900 merged, the coder SSH config is now a separate file we can safely edi...

Opengraph URL: https://github.com/coder/coder/issues/2153

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Automatically update coder SSH config on `coder create` and `coder delete`","articleBody":"## Feature request\r\n\r\nIt would be nice if we could automatically update coder SSH config on `coder create` and `coder delete`.\r\n\r\nWith https://github.com/coder/coder/pull/1900 merged, the coder SSH config is now a separate file we can safely edit without causing trouble for the user (`~/.ssh/coder`).\r\n\r\n### Why is this useful?\r\n\r\n- It removes an extra step, the user only needs to run `coder config-ssh` once\r\n- After `coder create` the workspace automatically will show up in e.g. vscode remote explorer\r\n\r\n### Potential problems\r\n\r\n- Simultaneous writes to `~/.ssh/coder` from multiple coder instances (rare edge case)\r\n\r\nTo work around the simultaneous write, we can grab a flock on the file, fetch the most recent workspaces, write, release flock. This will work as a kind of mutex ensuring each separate process only writes the latest workspaces to the file.\r\n\r\n### Can we do this by _only_ using glob-hosts in `~/.ssh/coder`?\r\n\r\nNo.\r\n\r\nUsing a glob host in `~/.ssh/coder` would allow for `ssh coder.workspace` to work without any additional updates to the config:\r\n\r\n```\r\nHost coder.*\r\n\t...\r\n```\r\n\r\nHowever, this does not allow tools like VSCode Remote Explorer to detect the hostnames/workspaces, nor does it work for shell autocomplete. So even if we use globs or not, we will want to write the actual workspaces to the config.\r\n\r\nThere's also a small risk of matching valid domain names, like `ssh coder.[TLD]` where TLD is a valid top-level domain like `.work`, `.edu`, `.jobs`, etc.","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2022-06-08T08:58:28Z","url":"https://github.com/coder/coder/issues/2153"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:12901ecc-8ba0-0e7e-ed57-349cd0e1d792
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB230:29FFA9:23FDC6C:2D93071:6B0180A1
html-safe-noncec5716fd2f6284043e630a40e5b54536308f9699265686b66b4839efdb4f0ad2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjMwOjI5RkZBOToyM0ZEQzZDOjJEOTMwNzE6NkIwMTgwQTEiLCJ2aXNpdG9yX2lkIjoiNjUwNjk0MjU3MjY4OTE5NTE2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacbd1160eb4af39c84eae12b9a586c8dd4fb918aa1fa444ceef2e150c20a567790
hovercard-subject-tagissue:1264421215
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2153/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7aa7c0c2e3455da86e27545e51de3757d80d894f978489df7021659c517bdf7d/coder/coder/issues/2153
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7aa7c0c2e3455da86e27545e51de3757d80d894f978489df7021659c517bdf7d/coder/coder/issues/2153
og:image:altFeature request It would be nice if we could automatically update coder SSH config on coder create and coder delete. With #1900 merged, the coder SSH config is now a separate file we can safely edi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemafredri
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/coder/coder/issues/2153#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F2153
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fissues%2F2153
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/issues/2153
Reloadhttps://github.com/coder/coder/issues/2153
Reloadhttps://github.com/coder/coder/issues/2153
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/2153
New issuehttps://github.com/login?return_to=https://github.com/coder/coder/issues/2153
Automatically update coder SSH config on coder create and coder deletehttps://github.com/coder/coder/issues/2153#top
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Jun 8, 2022https://github.com/coder/coder/issues/2153#issue-1264421215
#1900https://github.com/coder/coder/pull/1900
mafredrihttps://github.com/mafredri
featurehttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22feature%22
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
needs groominghttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%22
on Jun 8, 2022https://github.com/coder/coder/issues/2153#event-6767922060
https://github.com/mafredri
mafredrihttps://github.com/mafredri
on Jun 8, 2022https://github.com/coder/coder/issues/2153#issuecomment-1149656920
missknisshttps://github.com/misskniss
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
on Jun 14, 2022https://github.com/coder/coder/issues/2153#event-6800961512
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Aug 18, 2022https://github.com/coder/coder/issues/2153#issuecomment-1218728147
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Aug 18, 2022https://github.com/coder/coder/issues/2153#event-7209903364
kylecarbshttps://github.com/kylecarbs
needs groominghttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22needs%20grooming%22
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Aug 22, 2022https://github.com/coder/coder/issues/2153#event-7236650584
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Oct 24, 2022https://github.com/coder/coder/issues/2153#issuecomment-1288243418
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Oct 24, 2022https://github.com/coder/coder/issues/2153#event-7649281923
bpmcthttps://github.com/bpmct
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Oct 25, 2022https://github.com/coder/coder/issues/2153#event-7665242507
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Nov 9, 2022https://github.com/coder/coder/issues/2153#issuecomment-1309006740
@mafredrihttps://github.com/mafredri
bpmcthttps://github.com/bpmct
on Nov 9, 2022https://github.com/coder/coder/issues/2153#event-7775167247
bpmcthttps://github.com/bpmct
on Nov 9, 2022https://github.com/coder/coder/issues/2153#event-7775195111
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Nov 10, 2022https://github.com/coder/coder/issues/2153#event-7778380375
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Jan 10, 2023https://github.com/coder/coder/issues/2153#issuecomment-1376524908
github-actionshttps://github.com/apps/github-actions
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Jan 10, 2023https://github.com/coder/coder/issues/2153#event-8186990640
coadlerhttps://github.com/coadler
staleThis issue is like stale bread.https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22stale%22
on Jan 10, 2023https://github.com/coder/coder/issues/2153#event-8187048828
https://github.com/bpmct
bpmcthttps://github.com/bpmct
on Feb 15, 2023https://github.com/coder/coder/issues/2153#issuecomment-1431963886
bpmcthttps://github.com/bpmct
not plannedhttps://github.com/coder/coder/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Feb 15, 2023https://github.com/coder/coder/issues/2153#event-8529931446
Sign up for freehttps://github.com/signup?return_to=https://github.com/coder/coder/issues/2153
Sign in to commenthttps://github.com/login?return_to=https://github.com/coder/coder/issues/2153
apiArea: HTTP APIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22api%22
cliArea: CLIhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22cli%22
siteArea: frontend dashboardhttps://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22site%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.