Skip to content

feat(remote-ssh): remove SSH Agent auth; migrate legacy Agent to private key#325

Merged
bobleer merged 1 commit intoGCWing:mainfrom
bobleer:feat/ssh-remote-remove-agent-auth
Apr 1, 2026
Merged

feat(remote-ssh): remove SSH Agent auth; migrate legacy Agent to private key#325
bobleer merged 1 commit intoGCWing:mainfrom
bobleer:feat/ssh-remote-remove-agent-auth

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented Apr 1, 2026

Summary

  • Remove Agent from SSHAuthMethod / SavedAuthType (russh does not support SSH agent auth).
  • On deserialize, map legacy saved JSON {"type":"Agent"} to PrivateKey with default path ~/.ssh/id_rsa.
  • Remove SSH Agent option from auth dialogs and related i18n keys.

Verification

  • cargo check -p bitfun-core, cargo check -p bitfun-desktop
  • pnpm run lint:web, pnpm run type-check:web

…ate key

- Drop Agent variant from SSHAuthMethod/SavedAuthType (russh does not support agent).
- Deserialize legacy saved JSON Agent as PrivateKey with ~/.ssh/id_rsa default.
- Remove agent option from SSH auth UI and i18n strings.
@bobleer bobleer merged commit abf67cc into GCWing:main Apr 1, 2026
4 checks passed
@bobleer bobleer deleted the feat/ssh-remote-remove-agent-auth branch April 1, 2026 06:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant