0

vscode ftp-simple Config.

    {
        "name": "ServerName",
        "host": "xxx.xxx.xx.xxx",
        "port": 22,
        "type": "sftp",
        "username": "ubuntu",
        "password": "",
        "path": "/",
        "autosave": true,
        "confirm": true,
        "privateKey": "C:\\pv_key\\testkey.pem"
    }

Remote Derectory Open

[vscode error] Connect fail : Error: All configured authentication methods failed

  • fileZilla : connect success!
  • NotePad++ : connect success!
  • Putty : -> ppk file convert connect success!
  • ssh -i : connect success!
  • status : pem key file chmod 400

Why can't only vscode connect? help...

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
  • You may want to check this similar question: [How to Connect EC2 Instance with VSCode Directly using pem file in SFTP] (https://stackoverflow.com/questions/54402104/how-to-connect-ec2-instance-with-vscode-directly-using-pem-file-in-sftp) – Arpit Jain Apr 19 '23 at 06:52

0 Answers0