大佬们,宝塔配置了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连接工具是可以链接成功的
|
|