티스토리 뷰

언젠간 고쳐지긴 하겠으나 그 전까지는
.vscode/sftp.json 에 algoritims: [] 추가하여 대응

{
  "name": "어떤 SFTP 연결",
  "host": "아이피.주우소.아이피.주소",
  "protocol": "sftp",
  "port": 22,
  "username": "아이디",
  "password": "암호",
  "remotePath": "/home/ubuntu",
  "uploadOnSave": false,
  "ignore": [".vscode", ".git", ".DS_Store"],
  "algorithms": {
    "kex": [
      "ecdh-sha2-nistp256",
      "ecdh-sha2-nistp384",
      "ecdh-sha2-nistp521",
      "diffie-hellman-group-exchange-sha256",
      "diffie-hellman-group14-sha1",
      "diffie-hellman-group-exchange-sha1",
      "diffie-hellman-group1-sha1"
    ],
    "cipher": [
      "3des-cbc",
      "aes128-ctr",
      "aes192-ctr",
      "aes256-ctr",
      "aes128-gcm@openssh.com",
      "aes256-gcm@openssh.com"
    ],
    "serverHostKey": [
      "ssh-rsa",
      "ecdsa-sha2-nistp256",
      "ecdsa-sha2-nistp384",
      "ecdsa-sha2-nistp521"
    ],
    "hmac": ["hmac-sha2-256", "hmac-sha2-512", "hmac-sha1"]
  }
}

참고 

 

Error: Handshake failed: no matching key exchange algorithm · Issue #124 · liximomo/vscode-sftp

Requisites (important to diagnose the problem!) not working sftp extension. i'ts my sftp config. ` "privateKeyPath": null, "agent": null, "passphrase": null, "...

github.com

 

댓글