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)
- HeidiSQL crashes/hangs when running SHOW PROCESSLIST during query execution. HOT 2
- Display column comments in completion proposal HOT 2
- having a lot of tabs take a serious toll on performance HOT 4
- Server info tooltip being persistently visible HOT 5
- JSONL export options HOT 3
- foreign key dropdown doesn't handle citext on postgres HOT 8
- plink.exe wrong passphrase although session started HOT 1
- keyword 'INTERSECT' No highlighting
- An error in field prompt is found when the field in the query box contain symbols. HOT 1
- Reordering in Session Manager
- AbstractError when closing text editor HOT 5
- Warn to overwrite file on Export grid rows HOT 3
- PostgresSQL 15.4: Export database as SQL does not export database structure HOT 1
- Sorting of JSON keys HOT 2
- NULL in clipboard
- Space between "tree view" items are smaller than usual HOT 1
- Allow open multiple table (MariaDB) HOT 1
- Experiencing display issues after executing SQL scripts HOT 2
- update libmariadb.dll and plugin libraries to latest version HOT 4
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.