-
-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Passphrase Popup, when using ssh tunnel. #1940
Comments
2024-04-16 15:07:44 [passphrase] / / [15:07:44.714] ssh.exe root@x.x.x.x-p 22 -i "C:\Users\xxx.ssh\id_rsa" -N -L 3307:127.0.0.1:3306 / |
If i try the ssh command in my commandline, i will be asked for my passphrase. |
I was just trying to reproduce on poweshell terminal, and What's happening there? Edit: forget this, I was expecting some output but started a tunnel which does not output anything, so the connection was successful. |
Problem seems to lie somewhere in my |
Related: #1838 |
I just tried with plink.exe and I was asked for the passphrase: Note that plink/putty uses a different key format, so I had to convert my OpenSSH key with puttygen.exe to the format which plink accepts. Withouth that, plink is returning a "Unable to use key file" error (invisible in HeidiSQL), and asks for the users password. |
Solution is to use plink witha putty key if you want to use keys with a passphrase. HeidiSQL then prompts you for the passphrase. Using ssh.exe, it seems impossible to catch the "Enter passphrase" prompt from the internal process. |
Preconditions
Describe the bug
If i am using a ssh key with a passphrase, and usind ssh.exe for the tunnel, i just get can´t connect. With plink.exe i get a popup for the ssh password, but not the passphrase.
Using it with the same ssh key, without a passphrase, it is working without any problems.
To Reproduce
Screenshots or Crash reports
plink.exe -ssh root@x.x.x.x -P 22 -i "C:\Users\xxx.ssh\id_rsa" -N -L 3307:127.0.0.1:3306
The text was updated successfully, but these errors were encountered: