# Mix.install doesn't honour \`GIT\_SSH\_COMMAND\`

**URL:** <https://forum.elixirforum.com/t/mix-install-doesnt-honour-git-ssh-command/66590>\
**Category:** Questions\
**Tags:** ssh, git, livebook\
**Created:** [October 8, 2024, 10:54am UTC](https://forum.elixirforum.com/t/mix-install-doesnt-honour-git-ssh-command/66590 "2024-10-08T10:54:09Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![rlipscombe](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rlipscombe/32/11250_2.png) [@rlipscombe](https://forum.elixirforum.com/u/rlipscombe)\
**Post date:** [October 9, 2024, 10:39am UTC](https://forum.elixirforum.com/t/mix-install-doesnt-honour-git-ssh-command/66590/8 "2024-10-09T10:39:54Z")

</div>

> [@rlipscombe](#):
>
> Ah! I wonder whether it’s because it can’t talk to the running ssh agent, so it can’t unlock the private key…?

Yes, probably this. `System.get_env()` includes `"SSH_AUTH_SOCK" => "/private/tmp/com.apple.launchd.BlahBlah/Listeners"`.

This is _not_ the `SSH_AUTH_SOCK` that my shell’s using – `SSH_AUTH_SOCK=/var/folders/bunch/of/letters/and/numbers/agent.1234`

I’ve got two `ssh-agent` processes running, and Livebook’s talking to the one that doesn’t have my keys loaded.

I wonder how to get `oh-my-zsh` to talk to the launchd-started one, instead of starting a new one…? That’s a problem for a different forum, however.

Thanks for the pointers.

---

_[View the full topic](https://forum.elixirforum.com/t/mix-install-doesnt-honour-git-ssh-command/66590)._
