vscode ssh trouble on windows
first time posting so hopefully this is the right place.
I'm trying to connect vscode to my server host because I'm fed up with using the cpanel editor (🤢 I know it's been too long). But I keep getting resolve issues where it can't find the private key.
I can connect perfectly fine with putty, so I know the keys are working. Openssh and putty are both active. The file name/path are correct (unless I've lost my mind) under IdentityFile, and HostName, User, and Port are also defined (and confirmed as correct with normal ssh).
And I have this problem with 2 separate web hosts (both using cpanel), so it's something to do with my setup.
Anyone know about this issue?
4 Replies
maybe the ssh implementation uses a different key format?
putty uses the openssh format
wait, no, it uses it's own format, sorry
https://code.visualstudio.com/docs/remote/ssh-tutorial#_prerequisites
Install an OpenSSH compatible SSH client (PuTTY is not supported).
Connect over SSH with Visual Studio Code
Connect over SSH with Visual Studio Code
I'm now trying with the openssh server, but I'm getting the same problem.
Is the linux VM absolutely necessary? I assumed it just made things easier as the other ssh tutorials I found didn't mention it.
Console info because why not:
I'm gonna trying setting up azure. hopefully this works 🤞
🤔
i would start all over