Skip to content

Not compatible with coder ssh entry #399

@topcheer

Description

@topcheer

Describe the bug

When having coder ssh config in ~/.ssh/config, running wishlist gives following error

err="invalid ConnectTimeout: = 0: strconv.Atoi: parsing "= 0": invalid syntax"

Setup

Please complete the following information along with version numbers, if applicable.

  • OS macOS
  • Shell ZSH
  • Terminal Emulator warp
  • Terminal Multiplexer: NONE

Note: you might encounter rendering issues if your locale does not use
UTF-8 encoding. Please check your locale (locale on POSIX systems) to
see what encoding is being used by your system.

To Reproduce

Steps to reproduce the behavior:
Add a section for coder ssh, for example

--- START CODER VSCODE coder.iot2.win ---

Host coder-vscode.coder.iot2.win--*
ConnectTimeout 0
LogLevel ERROR
ProxyCommand "/Users/zhanju/Library/Application Support/Code/User/globalStorage/coder.coder-remote/coder.iot2.win/bin/coder-darwin-arm64" vscodessh --network-info-dir "/Users/zhanju/Library/Application Support/Code/User/globalStorage/coder.coder-remote/net" --session-token-file "/Users/zhanju/Library/Application Support/Code/User/globalStorage/coder.coder-remote/coder.iot2.win/session" --url-file "/Users/zhanju/Library/Application Support/Code/User/globalStorage/coder.coder-remote/coder.iot2.win/url" %h
SetEnv CODER_SSH_SESSION_TYPE=vscode
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

--- END CODER VSCODE coder.iot2.win ---

Then run wishlist, an error will occur.

Expected behavior

A working wishlist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions