vscode remote连不上aws ec2 linux.
已经用ssh-keygen生成id_rsa, id_rsa.pub, pub已经放到aws ec2-user的.ssh/autorized_keys.
从windows用命令行ssh ec2-user@$myip 已经可以直接免密连上。
但是从vscode remote还是连不上。
错误信息:Permission denied (public key).
The process tried to write to a nonexistent pipe.
vscode已经按照说明配置如下:(~/.ssh/config):
Host myhost
HostName: $myip
User: ec2-user
IdentityFile ~/.ssh/id_rsa