Skip to content

Add SSH agent authentication option - #95

Open
Phreak420 wants to merge 1 commit into
mysql:mainfrom
Phreak420:feature/windows-ssh-agent-auth
Open

Phreak420 wants to merge 1 commit into
mysql:mainfrom
Phreak420:feature/windows-ssh-agent-auth

Conversation

@Phreak420

@Phreak420 Phreak420 commented Sep 15, 2026

Copy link
Copy Markdown

Summary

Adds an SSH Authentication selector to MySQL SSH tunnel connections:

  • SSH Agent (default for connections without a saved key file)
  • Private Key File

Agent mode omits ssh-identity-file, allowing MySQL Shell/libssh to discover platform-agent identities, including hardware-backed YubiKeys. Private-key mode preserves the existing behavior.

Validation

  • Frontend type-check passes.
  • Targeted ESLint passes for changed files.
  • ConnectionEditorTestConnection.spec.tsx: 3 tests pass, including agent and private-key option coverage.
  • Tested end-to-end on Windows 10 with Kleopatra/Gpg4win and a YubiKey using MySQL Workbench 26.7.

Fixes #94

Signed-off-by: Daniel Marshall <daniel.marshall121@gmail.com>
@mysql-oca-bot

Copy link
Copy Markdown

Hi, thank you for submitting this pull request. In order to consider your code we need you to sign the Oracle Contribution Agreement (OCA). Please review the details and follow the instructions at https://oca.opensource.oracle.com/
Please make sure to include your MySQL bug system user (email) in the returned form.
Thanks

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.

Support SSH-agent authentication for MySQL Workbench connections

2 participants