Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fail to connect to Windows and Linux aws workspaces via ssh #2203

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
nadzeyav opened this issue Jun 9, 2022 · 1 comment
Closed

Fail to connect to Windows and Linux aws workspaces via ssh #2203

nadzeyav opened this issue Jun 9, 2022 · 1 comment
Assignees
Labels
api Area: HTTP API
Milestone

Comments

@nadzeyav
Copy link

nadzeyav commented Jun 9, 2022

Coder version:
Coder v0.0.0-devel+74fe38e
OS: windows
running in dev mode

Fail to connect via ssh from UI, with CLI using: ssh [workspace] and coder ssh [workspace]

Steps:

  1. Start coder via: coder server --dev
  2. Init templates: aws-linux and aws-windows
  3. Create templates
  4. Create a workspaces from these templates

Expected
Can connect via ssh in CLI and via Terminal on UI

Actual
Via ssh and coder ssh cannot connect - connection is hanging (coder config-ssh was executed)

On UI: resources status is Connecting

image

In log:
GET /api/v2/workspacebuilds/a79c62ca-7563-4bdd-ba2e-651774dde221/resources
response is:
[{"id":"8fdd8fd2-36e4-4b20-a6d1-a27c33cd6e93","created_at":"2022-06-09T14:01:04.6784212Z","job_id":"e7855f46-33b5-4bd3-9b73-77429366ffa9","workspace_transition":"start","type":"aws_instance","name":"dev","agents":[{"id":"1d1240a1-e0dd-4fd1-9656-5fced5b1ea13","created_at":"2022-06-09T14:01:04.6789359Z","updated_at":"2022-06-09T14:01:04.6789359Z","status":"connecting","name":"dev","resource_id":"8fdd8fd2-36e4-4b20-a6d1-a27c33cd6e93","architecture":"amd64","environment_variables":null,"operating_system":"linux","apps":[]}]}]

@kylecarbs
Copy link
Member

This has been fixed with #2198!

@misskniss misskniss added this to the Community MVP milestone Jun 14, 2022
@misskniss misskniss added the api Area: HTTP API label Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API
Projects
None yet
Development

No branches or pull requests

4 participants