SSH agent breaks after restart #833
Unanswered
yuriy-boyko
asked this question in
Help & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently i'm using WSL2 + Ubuntu 24
The first time i create an environment all works fine, SSH agent and SSH agent forwarding work fine
But on php-fpm container i see this
This causes an error on laptop restart, and the command
ssh-add -L
will give this error:Error connecting to agent: Connection refused
This happens because the agent changes name so the bind is not valid anymore
If i check the agent, i see the permissions are wrong
Correct permissions should be
srw------- 1 www-data www-data 0 Jan 15 08:32 /run/host-services/ssh-auth.sock
As a temporary fix i just execute
warden env up
so the php-fpm images get recreated and permissions are fixedIs this some WSL bug or warden bug?
Is there any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions