You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to access a remote VM with Remote - SSH extension from a Windows 10 machine. But I don't seem to succeed as VSCode is keeping prompting me to enter the password and deny the access each time. The VM runs on a Ubuntu 18.04 LTS OS.
I don't understand why I am being prompted to enter a password in the first place. Normally I should be able to access the VM without a password just like I do from the command line. I generated a ssh key for authentication and that's how I am able to acces the VM from the command line.
Steps to Reproduce:
I access normally the remote VM from MobaXterm.
I generate a ssh key in my windows 10 computer.
I Install the public key in the remote server.
I make sure that I can access the VM from the command line and it works fine.
I install the Remote - SSH extension on VSCode.
Press F1 > search and click Remote-SSH: connect to a host > execute command ssh username!ipaddress
VSCode launch a new instance and prompt me for the password of username!ipaddress.
I enter the password, and it prompts for the same reason with a message: Permission denied, please try again.
This issue occur even when all extensions are disabled.
The text was updated successfully, but these errors were encountered:
I want to access a remote
VM
withRemote - SSH
extension from a Windows 10 machine. But I don't seem to succeed asVSCode
is keeping prompting me to enter the password and deny the access each time. TheVM
runs on aUbuntu 18.04 LTS OS
.I don't understand why I am being prompted to enter a password in the first place. Normally I should be able to access the
VM
without a password just like I do from the command line. I generated assh key
for authentication and that's how I am able to acces theVM
from the command line.Steps to Reproduce:
VM
fromMobaXterm
.ssh key
in mywindows 10
computer.VM
from the command line and it works fine.Remote - SSH
extension onVSCode
.F1
> search and clickRemote-SSH: connect to a host
> execute commandssh username!ipaddress
VSCode
launch a new instance and prompt me for the password ofusername!ipaddress
.Permission denied, please try again.
This issue occur even when all extensions are disabled.
The text was updated successfully, but these errors were encountered: