I have two problems:
- I can succesfully ssh to my remote Linode server from my wsl terminal (Debian) but since Im not that experienced programming in the terminal I want to use VScode. But as Im trying to ssh/use remote explore from VScode and it fails (which is my second issue), then after it fails I cant ssh from my wsl terminal, until the next day or something like that, why does this happen?
- Then the second issue is I cant ssh/use remote explore and connect to my remote server in VScode, I get this error:
This is my C:\Users\jonas.ssh\config file C:\Users\jonas.ssh\config
- I've tried uninstalling-installing OpenSSH on my local computer, but didn't help
- I've tried generating new ssh key on my local computer and adding to the linode server
- I've tried enabling password authentication, but get permission denied every time even though im using the right password
- I've run out of ideas...
"Connection refused" means exactly what it says: you were unable to initiate a connection because the other end of the connection refused it. Your keys are irrelevant here, because the connection is refused before the key would even be used. (If I can't get to the locked house, then it doesn't really matter that I have that house's key in my pocket.)
Does that VM have SSHD running and listening on port 22? Does the firewall permit connections to that address on port 22? Do you have the correct address?
(Also: screenshots of text are not helpful. Copy and paste, please.)