That is/was your problem. The configuration of the Terminal & SSH add-on has completely changed, look at the post slightly above yours for the updated syntax.
Is this still working for anyone?
At some point last week I started getting this error on VSCode server:
/root/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/bin/code-server: line 12: /root/.vscode-server/bin/e54c774e0add60467559eb0d1e229c6452cf8447/node: not found
@sammyke007 Working fine for me with the mentioned changes to the config of Advanced SSH & Web Terminal. You might want to try to connect via ssh and remove the “/root/.vscode-server/” folder.
Running latest HA and ‘Advanced SSH Terminal’ add-on and cannot seem to get this to work.
In terms of vscode, I have: Version: 1.99.3 (Universal), and I also found this.
My config:
ssh:
username: hassio
password: ""
authorized_keys:
- >-
ssh-rsa
sftp: false
compatibility_mode: false
allow_agent_forwarding: false
allow_remote_port_forwarding: true
allow_tcp_forwarding: true
zsh: true
share_sessions: false
packages:
- grep
init_commands:
- cat /config/aliases >> ~/.zshrc
Tried adding package procps and it doesn’t work. Tried adding apks for procps and it doesn’t work either.
In VSCode I always get message: Error: ServerFailedToStart (The VS Code Server failed to start)
.
In detail log, I also found error message: Error relocating /data/.vscode-server/bin/17baf841131aa23349f217ca7c570c76ee87b957/node: fcntl64: symbol not found
Any ideas?
Thanks in advance.
I just tested mine and it works fine with the same config as you under the ssh: key. None of the other stuff starting with zsh is configured or needed for vscode to work for me.
Vscode version is 1.97.2
@mterry63 And can you please share what packages do you have installed?
Thanks in advance.
I have spent some time reading through the thread and finding the correct settings. Here is what works for me with latest Visual Studio. Just install official SSH add-on and change the setting like this:
apks:
- procps
server:
tcp_forwarding: true