Skip to content
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

Missing SSH config is not handled #279

Open
slagiewka opened this issue Nov 30, 2023 · 0 comments
Open

Missing SSH config is not handled #279

slagiewka opened this issue Nov 30, 2023 · 0 comments

Comments

@slagiewka
Copy link

slagiewka commented Nov 30, 2023

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"}
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

1 participant