Skip to content

Missing SSH config is not handled #279

Open
@slagiewka

Description

@slagiewka

Scenario:

  • Clean OS install
  • ~/.ssh is empty or doesn't have config file.
  • Trying to attach VScode to a node fails

Steps to fix:
touch ~/.ssh/config.

Empty config file works and gets written to (if request by the user).

When trying to attach VSCode to a node:

[error] EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/home/{user}/.ssh/config'
	at y.e (/app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:127:26740)
	at Object.readFile (/app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:127:25126)
	at async c (/home/{user}/.var/app/com.visualstudio.code/data/vscode/extensions/tailscale.vscode-tailscale-1.0.0/dist/extension.js:2:347328)
	at async t.syncSSHConfig (/home/{user}/.var/app/com.visualstudio.code/data/vscode/extensions/tailscale.vscode-tailscale-1.0.0/dist/extension.js:2:348134)
	at async /home/{user}/.var/app/com.visualstudio.code/data/vscode/extensions/tailscale.vscode-tailscale-1.0.0/dist/extension.js:2:326085
	at async i.h (/app/extra/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:125:139661) tailscale.node.openRemoteCode {"value":"Tailscale.vscode-tailscale","_lower":"tailscale.vscode-tailscale"}

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