Connect “remote ssh” can't use ssh-agent

Issue Description

When use “remote ssh”,qoder try to connect server but not use ssh-agent to get passphrase

Steps to Reproduce

  1. config ssh key with passphrase and save to ssh-agent
  2. use qoder connect to server

Expected Behavior

success connect in server

Actual Behavior

connect fail

log:

[Info  - 06:44:14.438] SSH Hosts tree view registered successfully
[Error  - 06:44:14.445] Error while parsing SSH public key /Users/xxx/.ssh/id_ed25519_work:
Error: Encrypted private OpenSSH key detected, but no passphrase given
	at j.parse (/Applications/Qoder.app/Contents/Resources/app/extensions/open-remote-ssh/dist/extension.js:1:346559)
	at Object.tt [as parseKey] (/Applications/Qoder.app/Contents/Resources/app/extensions/open-remote-ssh/dist/extension.js:1:357647)
	at /Applications/Qoder.app/Contents/Resources/app/extensions/open-remote-ssh/dist/extension.js:1:504393
	at Array.map (<anonymous>)
	at e.gatherIdentityFiles (/Applications/Qoder.app/Contents/Resources/app/extensions/open-remote-ssh/dist/extension.js:1:504332)
	at async /Applications/Qoder.app/Contents/Resources/app/extensions/open-remote-ssh/dist/extension.js:1:397983
[Trace  - 06:44:14.447] Identity keys:
None
[Info  - 06:44:14.447] Establishing new SSH connection to root@47.47.47.47:22...
[Info  - 06:44:14.514] Trying no-auth authentication
[Error  - 06:44:14.531] Error resolving authority
Error: All configured authentication methods failed

Screenshots / Screen Recordings

Operating System

macOS 26.1 Beta (25B5042k)

Current Qoder Version (Menu → About Qoder → Copy)

版本: 0.2.21
VSCode Version: 1.100.0
提交: 361d1fbbd7fca51877c89d9a689f34a4d7acd2f4
日期: 2025-12-16T06:05:29.247Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Please submit an issue so that we can troubleshoot it together with the logs.:saluting_face: