vs code sftp配置
程序员文章站
2022-06-01 10:30:56
...
vs code (Visual Studio Code) SFTP keyboard interactive authentication method配置方法
总是报错:All configured authentication methods failed
正确的配置是不要password.
我的配置是:
{
"host": "xxx",
"port": 22,
"username": "xxx",
"protocol": "sftp",
"agent": null,
"privateKeyPath": null,
"passphrase": null,
"passive": true,
"interactiveAuth": true,
"remotePath": "xxx",
"uploadOnSave": true,
"syncMode": "update",
"ignore": [
"**/.vscode/**",
"**/.git/**"
],
"watcher": {
"files": "glob",
"autoUpload": true,
"autoDelete": true
}
}