Is it possible to make ssh forwarding work on windows (with git bash)? I've followed this post https://stackoverflow.com/questions/18404272/running-ssh-agent-when-starting-git-bash-on-windows to start ssh-agent.
I'm passing the socket to the dagger function like so --ssh-sock=$SSH_AUTH_SOCK
In the function:
@function
def base(
self,
ssh_sock: dagger.Socket | None,
) -> dagger.Container:
...
if ssh_sock:
ctr = ctr.with_unix_socket("/tmp/ssh.sock", ssh_sock).with_env_variable(
"SSH_AUTH_SOCK", "/tmp/ssh.sock"
)
...
This is currently failing with :
Stderr:
╭─ Error ──────────────────────────────────────────────────────────────────────╮
│ Function execution error: resolve: InvalidArgument: InvalidArgument: rpc │
│ error: code = InvalidArgument desc = not a socket: │
│ /Users/home/AppData/Local/Temp/ssh-6rlotH3uqLgZ/agent.5346 │
│ Stdout: │
Is it possible ? or is there a workaround ?