Skip to content

Generated Coder SSH config contains invalid/unknown user permissions #1108

Description

@ais-alexn

Remote SSH connections failing on Windows because the SSH config file generated by the Coder extension has invalid file permissions.

Error

With latest vscode plugin Remote SSH fails with the following message:

Bad permissions. Try removing permissions for user:
UNKNOWN\UNKNOWN (S-1-5-21-3546186258-4057514606-4047526845-1956138338)
on file C:/Users/<username>/AppData/Roaming/coder.coder-remote/ssh/vscode--coder.zugang2x.de.conf.

Bad owner or permissions on
C:\Users\<username>\AppData\Roaming\coder.coder-remote\ssh\vscode--coder.zugang

Workaround

Downgrading the Coder VS Code extension to version 1.15.2 resolves the issue for me.

With version 1.15.2, I can use the Coder-generated SSH configuration directly from my normal SSH config file, and VS Code Remote SSH connects successfully.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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