-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
SSH Tunnel Authentication failed #260
Comments
please run warden svc down and warden svc up and try again |
@sebastian-ehrling I've tried this at least 40 times. Even deleted the keys and regenerated them. However, for some reason this time it's worked. Thank you. |
@sebastian-ehrling Same issue has occurred again |
@adam-paterson which version of docker do you use? |
+1 - upgraded docker 2.5.0.0 and ssh stopped working. |
+1 Here, same issue after upgrading docker to 2.5.0.0 |
Same issue here. Just set-up a new mac, running the following: When checking the tunnel service logs I see the following when trying to manually ssh'ing into the container:
However, when I
What worked for me I believe this indicates that there is some issue with permissions for the ssh files. And setting this directive should only be used as a temporary solution. |
Just checked on the machine that I'd recently upgraded to 2.5.0.0 and the logs showed the same error @Skullsneeze logged above. What resolves this for me (temporarily) is re-creating the container:
As soon as the container has been restarted (either because Docker has restarted or when a manual The file
I don't have time to dig further at the moment, but I have a sneaking suspicion this may be related to the use of the newer gRPC Fuse driver, possibly combined with something the startup script embedded in the |
Thank you @davidalger - I can confirm that your workaround makes it work for me. |
Thank you, removing the |
I am having very strange issue, in ubuntu Table Plus works fine with tunnel but Navicate or other software does not connect, and somehow pub key is owned by root so if I start the app as root then once it got connected but again I am in loops and it dont work but table plus working fine Sorry for bad english |
I'm getting an error from using windows using WSL2 with warden for magento 2.4.6 when trying to connect to the database with DBeaver. I think the error is probably because I'm using windows with WSL2 with an ubuntu VM and the extra step is causing the ssh connection to fail. I've tried using these configuration settings to access my Database from Phpstorm and DBeaver: https://docs.warden.dev/configuration/database.html#phpstorm The error I'm getting is in PHPStorm when I'm setting up the SSH configuration to connect to the database from warden. I'm getting a Connection to user@tunnel.warden.test:2222 Cannot connect to remote host: host not found My settings in PHPStorm for the SSH Configuration is Host: tunnel.warden.test , Port: 2222, Username: user, Private key file: \wsl$\Ubuntu\home<myusername>.warden\tunnel\ssh_key and Parse config file ~/.ssh/config is turned on. However, when I try the command within my ubuntu WSL2 command line:
I've also checked in my /etc/ssh/ssh_config and see this entry which I see was mentioned above:
It works. I looked at the solution here: #27 (comment) by @erikhansen but I don't see this file ~/.ssh/config in my Ubuntu WSL 2 machine. I'm seeing this:
So I don't have anything to delete I'm just very confused because ssh works fine but the ssh configuration to my WSL 2 ubuntu vm running mysql does not work. I've also tried using: And I've also tried warden env down and warden env up to recreate all the containers, but no effect. but it doesn't make a difference the host is unknown in php storm for the ssh connection and it refuses to connect. Temporary workaround: |
I'm trying to use Sequel Pro to connect to a DB, up until this morning this was working as expected but today I get an authentication error. I have no issues when using
warden shell
The text was updated successfully, but these errors were encountered: