Skip to content

SSH config is not updated if Coder hostnames are already present in the config #11

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fioan89 opened this issue Jun 16, 2022 · 0 comments

Comments

@fioan89
Copy link
Collaborator

fioan89 commented Jun 16, 2022

coder config-ssh is blocked, waiting for input from user if the Coder Workspace hosts are already configured in the ssh config file.

2022-06-16 23:56:07,952 [ 170305]   INFO - CoderAuthStepView - coder-cli config-ssh output: [1mThe current executable path does not match the executable path found in $PATH.[0m
  | This may cause issues connecting to your workspace via SSH.
  | 	Current executable path: "/var/folders/pc/6kk2q9nx1gl95bd6f_g8hfww0000gn/T/coder-darwin-amd64-v0.0.0-devel+93b1425"
  | 	Executable path in $PATH: ""

> The following changes will be made to your SSH configuration:

    * Update coder config section in /Users/fauri/.ssh/config

  To see changes, run diff:

    $ coder config-ssh --diff

  Continue? ([1myes[0m/no) 

Effectively, most of the time SSH connections can't be tunneled due to invalid SSH configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants