【已解决】大佬们,宝塔配置了ssh密钥登陆后,vscode怎么...
大佬们,宝塔配置了ssh密钥登陆后,vscode怎么配置sftp[
{
"name": "XXXX",
"host": "XXXX.XXX.2XX.XXX",
"protocol": "sftp",
"port": 22,
"username": "root",
"ignoreFile": "XXXX.XXX.2XX.XXX_id_ed25519",
"passive": false,
"interactiveAuth": true,
"remotePath": "/www/wwwroot/aaa",
"ignore": [
"**/.vscode/**",
"**/.git/**",
"**/venv/**",
"**/.idea/**",
"**/.DS_Store"
],
"uploadOnSave": true,
"syncMode": "update",
"watcher": {
"files": "glob",
"autoUpload": true,
"autoDelete": true
}
}
]我怎么也链接不上,但是通过宝塔ssh连接工具是可以链接成功的
有大佬在线么。。有点急呀
改为"privateKeyPath": "XXXX.XXX.2XX.XXX_id_ed25519", 解决
页:
[1]