![]() ![]() ![]() I was getting the exact same error as the original poster received and yet none of the other answers were my issue. 2 days ago &0183 &32 VSCode Remote - SSH plugin fails connection to remote server when user name has a space Ask Question Asked yesterday Modified yesterday Viewed 25 times 0 Im running VSCode version 1.80.0 My /. If VS Code Remote Server installation had slightly better error logic and better error messages none of us would be wasting hours doing this simple task. Even when all of my ssh keys and remote ids have been copied and tested from both the Windows command line and inside a WSL Ubuntu instance. ![]() I cannot figure out why on some machines, a smooth remote installation is not possible. I have tried playing with the setting "Use remote.SSH: Use Flock" and other tricks posted on StackOverflow but none of these work for me whenever I have remote installation issues. If you got here because you were trying to install VS Code in the first place and for whatever reason VS Code had issues with the remote installation, I highly recommend installing it manually by downloading and extracting the tar file to the remote machine directly. This trick only works if there is a valid ~/.vscode-server on the remote machine with a hash that matches your local VS Code installation. I use it on about 7 remote machines and every once in a while something goes awry and it cannot recover from simple errors and gets stuck in installation loops. VS Code Remote Server install is not very robust. I deleted both files and then VS Code came up right away. These two files on the remote server in the folder. Here’s how to configure a Visual Studio Code SSH client to connect to remote hosts. Where was my remote user name and xxx the VS Code Remote Server build hash. The Remote SSH extension allows you to connect to remote computers via SSH and edit files, scripts, configurations, or execute commands on remote Windows or Linux hosts directly from VS Code installed on your computer. In my case there were two files that look like Visual Studio Code 1.80, the latest edition of the popular code editor from Microsoft, stabilizes Remote Tunnels to Windows Subsystem for Linux (WSL) instances. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |