I am newbie to VS code. I try to ssh the server in VS code. I found how to ssh the server in VS code and follow those steps but I cannot ssh to the server. The steps that I did in VS code is
- Install VS code.
- Install Remote - SSH in VS code from the extension.
- I connect to HOST: ssh user@hostname
- I select C:\Users\username.ssh\config
- In config, I fill all the corresponding data of HOST, HOSTNAME, USERNAME
- Then I tried either linux or window
- I entered the password.
Those are the steps that I try to connect ssh to the server. But I cannot successfully ssh to the server. The error I got is
The terminal process "C:\WINDOWS\System32\cmd.exe /c (type "C:\Users\username\AppData\Local\Temp\vscode-linux-multi-line-command-(hostname)" | ssh -T -D 56383 "(hostname)" bash) & exit /b 0" terminated with exit code: 255.
May I know do I miss any setting to successfully ssh to the server? When I searched in internet, after giving the username@hostname and setting the configuration, it can ssh to the server.
Thank you.