I want to access a remote VM
with Remote-SSH
extension of the VS Code
editor from a Windows 10
machine. But I don't seem to succeed as VS Code
is keeping prompting me to enter the password and deny the access each time. The VM
runs on a Ubuntu 18.04 LTS
OS
.
stderr> Permission denied, please try again.
I generated an ssh key for authentication and that's how I am able to access the VM from the command line with an ssh client.
Am I doing something wrong? Is the password supposed to be something else other than the account password? Is this maybe a bug in VS Code
?
You can find the detailed answer to this problem in the following github thread: SSH error in VSCode: Permission denied, please try again. #92579