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

feat: modify config-ssh to set the host suffix#17280

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

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedApr 7, 2025
edited
Loading

Wires upconfig-ssh command to use a hostname suffix if configured.

part of:#16828

e.g.coder config-ssh --hostname-suffix spiketest gives:

# ------------START-CODER-----------# This section is managed by coder. DO NOT EDIT.## You should not hand-edit this section unless you are removing it, all# changes will be lost when running "coder config-ssh".## Last config-ssh options:# :hostname-suffix=spiketest#Host coder.* *.spiketest        ConnectTimeout=0        StrictHostKeyChecking=no        UserKnownHostsFile=/dev/null        LogLevel ERROR        ProxyCommand /home/coder/repos/coder/build/coder_config_ssh --global-config /home/coder/.config/coderv2 ssh --stdio --ssh-host-prefix coder. --hostname-suffix spiketest %h# ------------END-CODER------------

@spikecurtisGraphite App
Copy link
ContributorAuthor

spikecurtis commentedApr 7, 2025
edited
Loading

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

Minor nit but otherwise LGTM 👍🏻

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

I have one clarification regarding having both prefix and suffix enabled and expected behaviour / testing. Does it make sense to have both of these enabled?

@spikecurtisspikecurtis removed the request for review frombcpeinhardtApril 7, 2025 17:17
@spikecurtisspikecurtisforce-pushed thespike/host-suffix/ssh-hostname-suffix-flag branch from34de3bc toc45e4dbCompareApril 7, 2025 17:18
@spikecurtisspikecurtisforce-pushed thespike/host-suffix/config-ssh-uses-host-suffix branch from2cac087 to237f8e4CompareApril 7, 2025 17:18
@spikecurtisspikecurtis changed the base branch fromspike/host-suffix/ssh-hostname-suffix-flag tographite-base/17280April 7, 2025 17:33
@spikecurtisspikecurtisforce-pushed thespike/host-suffix/config-ssh-uses-host-suffix branch from237f8e4 to0ae03f3CompareApril 7, 2025 17:33
@graphite-appgraphite-appbot changed the base branch fromgraphite-base/17280 tomainApril 7, 2025 17:34
@spikecurtisspikecurtisforce-pushed thespike/host-suffix/config-ssh-uses-host-suffix branch from0ae03f3 to283830cCompareApril 7, 2025 17:34
@spikecurtisspikecurtisforce-pushed thespike/host-suffix/config-ssh-uses-host-suffix branch from283830c tob78738cCompareApril 8, 2025 07:38
@spikecurtisspikecurtis merged commit9eeb506 intomainApr 8, 2025
30 checks passed
@spikecurtisGraphite App
Copy link
ContributorAuthor

Merge activity

  • Apr 8, 3:48 AM EDT: A user merged this pull request withGraphite.

@spikecurtisspikecurtis deleted the spike/host-suffix/config-ssh-uses-host-suffix branchApril 8, 2025 07:48
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 8, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@matifalimatifalimatifali left review comments

@mafredrimafredrimafredri approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@spikecurtis@mafredri@johnstcn@matifali

[8]ページ先頭

©2009-2025 Movatter.jp