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
Problem connection via SSH bastion host with passphrase protected ed25519 key #544
Comments
Thanks a lot for the info. I was able to reproduce this. It appears that there is an issue with passphrase-protected ecdsa and ed25519 in libssh2 (Postico 1.4 beta is using an unstable branch of libssh2). As for the lack of support for .ssh/config, that's a known limitation. |
PS: If you want to claim your free license (we are currently running a bug bounty for Postico 1.4 beta), please send me the name/email you want on your license to jakob@eggerapps.at |
We have been working on this issue! jakob: libssh2: Fix issue where Postico did not prompt for passphrase of private key #544 Download Build B2750, or check out the list of recent builds. |
Hi, thanks for reporting, we hope this is fixed with Postico 1.4 Beta 4, please download Build 2755. Please let us know if you still encounter problems! Best regards, |
I can confirm this issue has been fixed! 💯 |
Maybe related to #532
What did you do?
db.XXXXX.com
that is only accessible from a bastion hostbastion.YYYYYY.com
What did you expect to happen?
What actually happened?
I got this error:
What software versions are you using?
Postico version: Version 1.4beta2 (2737)
(I know, it should say Beta3, but it says Beta2)
macOS version: 10.13.4
PostgreSQL version: (never connected)
Extra information
I can
ssh
to the bastion host from the command line without issue:ssh -v ec2-user@bastion.YYYYYY.com
and the debug output verifies that the~/.ssh/id_ed25519
key is the one offered and accepted. The key has a passphrase but it is saved in the keychain. Postico never prompts me for the passphrase.I've also tried the same connection setup with another GUI client and it works correctly. Another thing that works in the other client but not in Postico is that I can use the following
.ssh/config
shortcut and only specifyBastion
as the host (no need for FQDN, user, key specification).Postico doesn't resolve the connections details from
.ssh/config
The text was updated successfully, but these errors were encountered: