Comments (8)
2024-04-16 15:07:44 [passphrase] / / [15:07:44.714] ssh.exe [email protected] 22 -i "C:\Users\xxx.ssh\id_rsa" -N -L 3307:127.0.0.1:3306 /
/ 2024-04-16 15:07:50 [passphrase] / / [15:07:50.852] Can't connect to server on '127.0.0.1' (10061) /
/ 2024-04-16 15:07:50 [passphrase] / / [15:07:50.853] Schließe SSH-Prozess #255
from heidisql.
If i try the ssh command in my commandline, i will be asked for my passphrase.
from heidisql.
I was just trying to reproduce on poweshell terminal, and ssh.exe
prompts for my passphrase - so far so correct. After I entered the correct passphrase, I get a waiting cursor, and nothing happens for at least 20 seconds:
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.
from heidisql.
Problem seems to lie somewhere in my TProcessPipe
and TSecureShellCmd
implementation. The output saying "Enter passphrase for key ...:" is not visible in the out pipe, for some reason.
from heidisql.
Related: #1838
from heidisql.
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.
from heidisql.
Next build shows potential errors in the dialog and in the log panel, like the one you get when using plink with a OpenSSH key:
from heidisql.
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.
from heidisql.
Related Issues (20)
- CURRENT_TIMESTAMP not available for selection as default on DATETIME HOT 4
- Allow editing values of SELECT query Result HOT 11
- Un/comment action, when no text is selected, is inconsistent when undoing/redoing
- Import/Export Tables/Databases in .gz format HOT 5
- small display error in query panel HOT 1
- PostgreSQL creating multiple reference foriegn key to each schema is incorrect HOT 2
- Separate checkboxes for drop/create tables, procedures etc. in SQL export HOT 4
- About enhanced SQL editing with VIM plugin HOT 3
- UI display is shrinking on table tabs: Options HOT 1
- MySQL error 2006: mysql server has gone away HOT 5
- MySQL connection with SSL without Certificate and key not working HOT 3
- Suggestion window bug HOT 2
- [BUG] Autocomplete size is broken HOT 8
- MariaDB INET6 datatype support HOT 5
- Empty warnings after query batch HOT 13
- Delta parquet support HOT 1
- The donation button occupies two rows of space HOT 13
- toolbar show exception HOT 2
- Recently imported tables will export empty value if not refresh HOT 2
- Error Datatype ENUM In PostgreSQL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heidisql.