diff --git a/aztec-up/bin/.aztec-run b/aztec-up/bin/.aztec-run index 0bbd9c561a5..cb2d86fdfbf 100755 --- a/aztec-up/bin/.aztec-run +++ b/aztec-up/bin/.aztec-run @@ -120,7 +120,7 @@ if [[ -z "${SKIP_PORT_ASSIGNMENT:-}" ]]; then fi ssh_agent_forwarding="" -if [ -n "${SSH_AUTH_SOCK:-}" ]; then +if [ -n "${SSH_AUTH_SOCK:-}" ] && [ "$(uname)" != "Darwin" ]; then ssh_agent_forwarding="-v $(realpath $SSH_AUTH_SOCK):$SSH_AUTH_SOCK" fi