Skip to content

fix: create .ssh folder if it does not exist already when running coder config-ssh #623

Closed
coder/coder
#17711
@brettkolodny

Description

@brettkolodny

A user ran into the following error when running coder config-ssh

Encountered an error running "coder config-ssh", see "coder config-ssh --help" for more information
error: write ssh config failed: cannot create temp file: .ssh/config: no such file or directory

We should be creating the directory if it does not exist.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions