Skip to content

Instantly share code, notes, and snippets.

@falkheiland
Last active June 23, 2023 13:19
Show Gist options
  • Save falkheiland/3f822ee3400ea504ddaab46d41bfe8cb to your computer and use it in GitHub Desktop.
Save falkheiland/3f822ee3400ea504ddaab46d41bfe8cb to your computer and use it in GitHub Desktop.
vscode on Synology DSM

when trying to connect to DSM with vscode:

The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++

https://community.synology.com/enu/forum/10/post/153781

sudo vim /usr/bin/ldd 
#/bin/sh 
echo "ldd 2.20" 
/etc/ssh$ ls -lisa /usr/bin/ | grep ldd 
 34868     4 -rwxr-xr-x  1 root   root       26 Jun 23 13:30 ldd 

microsoft/vscode-remote-release#8132 (comment)

sudo cp sshd_config sshd_config.bck 
/etc/ssh$ sudo vim sshd_config 
AllowAgentForwarding yes 
AllowTcpForwarding yes 
sudo systemctl restart sshd 
rm -rf ~/.vscode-server/ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment