Issue Description
The extension fails to handle encrypted private keys and does not prompt for a passphrase during connection setup.
Steps to Reproduce
Expected Behavior
The passphrase prompt should appear after selecting the remote host — matching VS Code’s behavior
Actual Behavior
Screenshots / Screen Recordings
[Info - 01:20:14.748] Resolving ssh remote authority 'ssh-remote+rocky_lxc.xxxxxxx.xxxx' (attempt #1)
[Info - 01:20:14.750] SSH Hosts tree view registered successfully
[Error - 01:20:14.757] Error while parsing SSH public key C:\Users\RS/.ssh/Rocky_lxc.pem:
Error: Encrypted private OpenSSH key detected, but no passphrase given
at G.parse (c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:346559)
at Object.tt [as parseKey] (c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:357647)
at c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:471889
at Array.map (<anonymous>)
at e.gatherIdentityFiles (c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:471828)
at async c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:394633
[Error - 01:20:14.758] Couldn't get identities from OpenSSH agent
Error: Failed to connect to agent
at Socket.n (c:\Users\RS\AppData\Local\Programs\Qoder\resources\app\extensions\open-remote-ssh\dist\extension.js:1:117986)
at Socket.emit (node:events:519:28)
at Socket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
[Trace - 01:20:14.758] Identity keys:
None
[Info - 01:20:14.758] Connecting to root@rrr.xxxxxxx.xxxx:15322...
[Info - 01:20:14.914] Trying no-auth authentication
[Info - 01:20:14.976] Trying password authentication
Operating System
Current Qoder Version (Menu → About Qoder → Copy)
Version: 0.2.20
VSCode Version: 1.100.0 (user setup)
Commit: 41eefc9d6820b32df7892471dc26c255bf238b67
Date: 2025-12-03T10:05:51.649Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.19045