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
vince
vince9mo ago
What exactly are you trying to do? connect to a remote server via ssh in vscode?
Joni
JoniOP9mo ago
Yeah, using the remote ash plugin
vince
vince9mo ago
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
ἔρως
ἔρως9mo ago
show us the error also, show us that you can connect to it outside of vscode
Joni
JoniOP9mo ago
Yep, I will, later, thank you.
Joni
JoniOP9mo ago
No description
ἔρως
ἔρως9mo ago
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 list
Joni
JoniOP9mo ago
Well, nothing happens when I do that
Joni
JoniOP9mo ago
No description
ἔρως
ἔρως9mo ago
yeah, connect to host that's what it's supposed to do
Joni
JoniOP9mo ago
Remote computer must have VSCode installed.
Well, My server, serv00, how the frick do I install that there?
I'll just give up
ἔρως
ἔρως9mo ago
once you connect, vscode installs vscode in the server
vince
vince9mo ago
yup just did it today on a new digital ocean droplet it took about an hour because it kept bugging out
ἔρως
ἔρως9mo ago
yeah, it's kinda fiddly, but it installs itself automatically i've had 100% on all supported platforms, so far
vince
vince9mo ago
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 ssh
ἔρως
ἔρως9mo ago
i didn't knew about thw wget-hosts, but knew about vscode-server i wouldn't do it
vince
vince9mo ago
y not?
ἔρως
ἔρως9mo ago
if there's any libraries that it needs to install manually, they won't be installed and you will have a bad time
Want results from more Discord servers?
Add your server