Skip to content

Make ssh_jump a DSN query parameter#2000

Merged
rolandwalker merged 1 commit into
mainfrom
RW/ssh-jump-query-parameter
Jul 11, 2026
Merged

Make ssh_jump a DSN query parameter#2000
rolandwalker merged 1 commit into
mainfrom
RW/ssh-jump-query-parameter

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Making ssh_jump a DSN query parameter allows DSNs which depend on an SSH jump to be saved as aliases in ~/.myclirc.

If --ssh-jump is given at the CLI, it overrides the value in the DSN, as with eg port and socket.

ssh_options is not included in the DSN at this time.

Future work should include warnings when unknown query parameters are included in DSNs.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

Making ssh_jump a DSN query parameter allows DSNs which depend on an
SSH jump to be saved as aliases in ~/.myclirc.

If --ssh-jump is given at the CLI, it overrides the value in the DSN,
as with _eg_ port and socket.

ssh_options is not included in the DSN at this time.

Future work should include warnings when unknown query parameters are
included in DSNs.
@rolandwalker rolandwalker self-assigned this Jul 11, 2026
@rolandwalker rolandwalker merged commit 3a347b9 into main Jul 11, 2026
11 checks passed
@rolandwalker rolandwalker deleted the RW/ssh-jump-query-parameter branch July 11, 2026 11:45
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