Version 2.0.y isn't working under Linux
Closed this issue · 1 comments
Bernd4242 commented
We have to connect trough a jumphost to login to PostgreSQL.
Version 1.13.0 works like a charm.
Using 2.0.x versions connection fails and we don't get any debug-output for ssh anymore.
For tests we used ssh-agent and connection seems to be established, but following db-login fails.
Tested this in Arch-Linux/bash, Docker Alpine-Image/bash, Docker Hashicorp/terraform image.
It works on MacOS.
sashasimkin commented
For those who might come to this - I had the same problem with 2.0.0. Tried to downgrade to 1.13.0 as OP suggested, but didn't help either.
When I tried to execute forwarding comment manually I saw this:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
*****
Please contact your system administrator.
Add correct host key in ***/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in ***/.ssh/known_hosts:740
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
******Port forwarding is disabled to avoid man-in-the-middle attacks.********
UpdateHostkeys is disabled because the host key is not trusted.
Doing ssh-keygen -R {host}
fixed the issue.