I've just seen a difference in parameters of plink that presumably causes HeidiSQL fail to connect (see below).

Version r7056
/* 2025-05-26 16:56:52 [] */ /* [16:56:52.410] Pfad zur Anwendung: "I:\portableapps.com\otherportableApps\HeidiSQL_Portable\heidisql64.r7056.exe" */ /* 2025-05-26 16:56:52 [] */ /* [16:56:52.446] Version: "12.10.0.7056" */ /* 2025-05-26 16:56:52 [] */ /* [16:56:52.448] Theme: "Windows" */ /* 2025-05-26 16:56:52 [] */ /* [16:56:52.450] Pixel pro Zoll auf aktuellem Bildschirm: 96 */ /* 2025-05-26 16:56:52 [] */ /* [16:56:52.453] Timezone offset: -7200 */ /* 2025-05-26 16:56:54 [nextcloudpi lokal] */ /* [16:56:54.933] Lade Bibliothek Datei I:\portableapps.com\otherportableApps\HeidiSQL_Portable\libmariadb.dll … */ /* 2025-05-26 16:56:54 [nextcloudpi lokal] */ /* [16:56:54.938] I:\portableapps.com\otherportableApps\HeidiSQL_Portable\libmariadb.dll v3.4.3 loaded. */ /* 2025-05-26 16:57:00 [nextcloudpi lokal] */ /* [16:57:00.813] Verbindung zu localhost über MariaDB or MySQL (SSH tunnel), Benutzername xxxx_db, benutze Passwort: Yes … */ /* 2025-05-26 16:57:00 [nextcloudpi lokal] */ /* [16:57:00.828] Calling mysql_options(MYSQL_OPT_SSL_VERIFY_SERVER_CERT, ...) */ /* 2025-05-26 16:57:02 [nextcloudpi lokal] */ /* [16:57:02.833] Versuche SSH-Prozess zu starten, warte 10s auf Antwort … */ /* 2025-05-26 16:57:02 [nextcloudpi lokal] */ /* [16:57:02.834] plink.exe -ssh -legacy-stdio-prompts xxxxxx@nextcloudpi -P 22 -i "I:\portableapps.com\PortableApps\WinSCPPortable\Data\xxxxxxxx.ppk" -N -L 3307:localhost:3306 */ /* 2025-05-26 16:57:02 [nextcloudpi lokal] */ /* [16:57:02.979] SSH process exited after 125ms with code 1. Should be 259 (STILL_ACTIVE) */
Version r7055
/* 2025-05-26 16:54:03 [] */ /* [16:54:03.534] Pfad zur Anwendung: "I:\portableapps.com\otherportableApps\HeidiSQL_Portable\heidisql64.r7055.exe" */ /* 2025-05-26 16:54:03 [] */ /* [16:54:03.555] Version: "12.10.0.7055" */ /* 2025-05-26 16:54:03 [] */ /* [16:54:03.556] Theme: "Windows" */ /* 2025-05-26 16:54:03 [] */ /* [16:54:03.556] Pixel pro Zoll auf aktuellem Bildschirm: 96 */ /* 2025-05-26 16:54:03 [] */ /* [16:54:03.558] Timezone offset: -7200 */ /* 2025-05-26 16:54:06 [nextcloudpi lokal] */ /* [16:54:06.112] Lade Bibliothek Datei I:\portableapps.com\otherportableApps\HeidiSQL_Portable\libmariadb.dll … */ /* 2025-05-26 16:54:06 [nextcloudpi lokal] */ /* [16:54:06.117] I:\portableapps.com\otherportableApps\HeidiSQL_Portable\libmariadb.dll v3.4.3 loaded. */ /* 2025-05-26 16:54:09 [nextcloudpi lokal] */ /* [16:54:09.512] Verbindung zu localhost über MariaDB or MySQL (SSH tunnel), Benutzername xxxx_db, benutze Passwort: Yes … */ /* 2025-05-26 16:54:09 [nextcloudpi lokal] */ /* [16:54:09.529] Calling mysql_options(MYSQL_OPT_SSL_VERIFY_SERVER_CERT, ...) */ /* 2025-05-26 16:54:11 [nextcloudpi lokal] */ /* [16:54:11.533] Versuche SSH-Prozess zu starten, warte 10s auf Antwort … */ /* 2025-05-26 16:54:11 [nextcloudpi lokal] */ /* [16:54:11.535] plink.exe -ssh xxxxxx@nextcloudpi -P 22 -i "I:\portableapps.com\PortableApps\WinSCPPortable\Data\xxxxxxxx.ppk" -N -L 3307:localhost:3306 */ /* 2025-05-26 16:54:12 [nextcloudpi lokal] */ /* [16:54:12.546] SSH output after 1000 ms. OutPipe: "" ErrorPipe: "Using username "xxxxxx". -- Pre-authentication banner message from server: ---------------------------- | Please note that SSH may not work until a valid user has been set up. | | See http://rptl.io/newuser for details. -- End of banner message from server ----------------------------------------- " */
