VSCODE SSH Not Working
I have had issues with not being able to set up SSH in my VSCODE, it simply does not want to connect whatever way I do it. Solutions?
20 Replies
What exactly are you trying to do? connect to a remote server via ssh in vscode?
Yeah, using the remote ash plugin
I don't think you need a plugin to connect in vscode; should be something built in
If you're on windows press
ctrl+shift+p
and type in ssh
and you'll see something similar to Remote-SSH: Connect to host
show us the error
also, show us that you can connect to it outside of vscode
Yep, I will, later, thank you.
@vince @ἔρως https://www.joni8829.com/file/Code_SXIITvRrzW.mp4
yeah, that's a bug in vscode
you have to click on the button at the bottom-left corner
the blue one, with
><
on it
or click the "connect to" in the listWell, nothing happens when I do that
https://stackoverflow.com/questions/74726030/vs-code-remote-ssh-extension-einval-error <-- try following this then
yeah, connect to host
that's what it's supposed to do
Remote computer must have VSCode installed.
Well, My server, serv00, how the frick do I install that there?I'll just give up
once you connect, vscode installs vscode in the server
yup
just did it today on a new digital ocean droplet
it took about an hour because it kept bugging out
yeah, it's kinda fiddly, but it installs itself automatically
i've had 100% on all supported platforms, so far
one thing i had to do too was delete a hidden file / folder called something like
.wget-hosts
and .vscode-server
. restart the server and then try to reconnect via vscode ssh
you might be able to manually install .vscode-server too through sshi didn't knew about thw wget-hosts, but knew about vscode-server
i wouldn't do it
y not?
if there's any libraries that it needs to install manually, they won't be installed and you will have a bad time