I just started using Remote - SSH (ms-vscode-remote.remote-ssh) plugin. I put this code into settings.json
:
"remote.SSH.remotePlatform": {
"myserver": "linux"
}
In the config
file:
Host myhost
HostName myhost
User root
IdentityFile ~/.ssh/id_rsa.pub
Exactly as the documentation said, and I expected - like in the PuTTY - the plugin just log in and done, but it still asking password for login.
Is there any setting what I missed? Or is there any setting what I must apply to avoid asking password?