Not run on newly VS Code 1.53.0
See original GitHub issueDo you read the FAQ?
- [ x ] Yes.
- [ x ] I am going to read now.
Describe the bug I was update VS Code, and not run anymore this great extension. I need it a lot.
To Reproduce Steps to reproduce the behavior:
- Go to sftp configured sites clicking at icon, then sites, and then get the error
Expected behavior Connect
Screenshots If applicable, add screenshots to help explain your problem.



Desktop (please complete the following information): Version: 1.53.0 (user setup) Commit: 8490d3dde47c57ba65ec40dd192d014fd2113496 Date: 2021-02-03T20:36:38.611Z Electron: 11.2.1 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 6.1.7601
Extension Logs from Startup - required
-
Open User Settings.
- On Windows/Linux - File > Preferences > Settings
- On macOS - Code > Preferences > Settings
-
Set
sftp.debugtotrueand reload vscode. -
Reproduce the problem, get the logs from View > Output > sftp.
Nothing from SFTP. Only alert:
command: “sftp.remoteExplorer.refresh” not found
SFTP version: 1.12.9
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:29

Top Related StackOverflow Question
For other users facing this issue - as the main problem is related to the Electron and createDiffieHellman then you can disable/remove
"diffie-hellman-group-exchange-sha256"algorithm as specified in Wiki - SFTP only Config.In other words, you need to edit
sftp.jsonfile and specify following algorithms as supported for each SFTP profile:^ As you can see
"diffie-hellman-group-exchange-sha256"is not specified. After doing this everything works fine with 1.53.x versions. Not really the best solution but still.@NormandoHall This works for me:
I use
profilesobject/key to list all available profiles for specific project, as specified at - https://github.com/liximomo/vscode-sftp#profiles.