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

bug: config-ssh writes bad Match exec clause on Windows #18199

Closed
Assignees
spikecurtis
Labels
regressionSomething that used to work but no longer workss1Bugs that break core workflows. Only humans may set this.
@spikecurtis

Description

@spikecurtis

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

coder config-ssh writes a config stanza like

# ------------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".#Host coder.*        ConnectTimeout=0        StrictHostKeyChecking=no        UserKnownHostsFile=/dev/null        LogLevel ERROR        ProxyCommand "C:\Program Files\Coder\bin\coder.exe" --global-config C:\Users\micha\AppData\Roaming\coderv2 ssh --stdio --ssh-host-prefix coder. %hHost *.coder        ConnectTimeout=0        StrictHostKeyChecking=no        UserKnownHostsFile=/dev/null        LogLevel ERRORMatch host *.coder !exec ""C:\Program Files\Coder\bin\coder.exe" connect exists %h"        ProxyCommand "C:\Program Files\Coder\bin\coder.exe" --global-config C:\Users\micha\AppData\Roaming\coderv2 ssh --stdio --hostname-suffix coder %h# ------------END-CODER------------

This results in a failed ssh invocation

C:\Users\micha\Downloads> ssh net-integration.coderMissing Match criteria for execC:\\Users\\micha/.ssh/config line 66: Bad Match conditionC:\\Users\\micha/.ssh/config: terminating, 1 bad configuration options

Relevant Log Output

Expected Behavior

ssh should connect

Steps to Reproduce

  1. Install Coder on Windows to a path with a space in it likeC:\Program Files\Coder\
  2. runcoder config-ssh
  3. runssh <workspace>

Environment

  • Host OS: Windows 11
  • Coder version: 2.22.0

Additional Context

No response

Metadata

Metadata

Assignees

Labels

regressionSomething that used to work but no longer workss1Bugs that break core workflows. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp