We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bec53b9 + c843c78 commit baa67faCopy full SHA for baa67fa
2 files changed
changelog.md
@@ -19,6 +19,7 @@ Bug Fixes
19
* Make multi-line detection and special cases more robust.
20
* Run empty `--execute` arguments instead of ignoring the flag.
21
* Exit with error when the `--batch` argument is an empty string.
22
+* Avoid logging SSH passwords.
23
24
25
Internal
mycli/sqlexecute.py
@@ -245,7 +245,7 @@ def connect(
245
"\tssh_user: %r"
246
"\tssh_host: %r"
247
"\tssh_port: %r"
248
- "\tssh_password: %r"
+ "\tssh_password: ***"
249
"\tssh_key_filename: %r"
250
"\tinit_command: %r"
251
"\tunbuffered: %r",
@@ -260,7 +260,6 @@ def connect(
260
ssh_user,
261
ssh_host,
262
ssh_port,
263
- ssh_password,
264
ssh_key_filename,
265
init_command,
266
unbuffered,
0 commit comments