From f74cc5b37910920dae9053d2b8d6dc40795bf27e Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Sat, 21 Feb 2026 06:11:37 -0500 Subject: [PATCH] fully deprecate the built-in SSH functionality A month after the soft deprecation notice was released, there has been no discussion on the linked GitHub Issue. For this and other reasons, it very much seems that nobody is using these features. Transition here from a "soft" to a "hard" deprecation, changing the notice to say that this featureset will be removed. --- changelog.md | 1 + mycli/main.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index c51d4e9c..a633a2d2 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,7 @@ Features * Let the `--dsn` argument accept literal DSNs as well as aliases. * Accept `--character-set` as an alias for `--charset` at the CLI. * Add SSL/TLS version to `status` output. +* Fully deprecate the built-in SSH functionality. Bug Fixes diff --git a/mycli/main.py b/mycli/main.py index a3899fe0..3905ec3e 100755 --- a/mycli/main.py +++ b/mycli/main.py @@ -1883,8 +1883,8 @@ def get_password_from_file(password_file: str | None) -> str | None: # ssh_port and ssh_config_path have truthy defaults and are not included if any([ssh_user, ssh_host, ssh_password, ssh_key_filename, list_ssh_config, ssh_config_host]) and not ssh_warning_off: click.secho( - "Warning: The built-in SSH functionality is soft deprecated and may be removed in a future release. " - "Please discuss or vote on this at https://github.com/dbcli/mycli/issues/1464", + "Warning: The built-in SSH functionality is deprecated and will be removed in a future release. " + "See Issue https://github.com/dbcli/mycli/issues/1464", err=True, fg="red", )