vscode로 sftp연동하여 작업중 "Handshake failed: no matching key exchange algorithm"라는 error 메세지가 떴다.
구글링해보니 버전문제나 algorithm을 추가하면 해결되는 것 같았는데 어디에 설정을 해야되는지 몰라 좀 헤맸다. 결론은:
➡️ sftp연동 project의 .vscode/sftp.json파일에 아래 내용을 추가하여 해결했다.
{
"name": "[CUSTOM_NAME]",
"host": "[SERVER_IP_ADDRESS]",
"protocol": "sftp",
"port": 22,
"username": "[USERNAME]",
"password": "[PASSWORD]",
"remotePath": "[REMOTE_PATH]",
"algorithms": {
"kex": [
"diffie-hellman-group1-sha1",
"ecdh-sha2-nistp256",
"ecdh-sha2-nistp384",
"ecdh-sha2-nistp521",
"diffie-hellman-group-exchange-sha256",
"diffie-hellman-group14-sha1"
]
}
}
'Error수정' 카테고리의 다른 글
노트북 디스플레이 설정 (0) | 2022.09.07 |
---|
댓글