Today on my new work laptop I'm not able to use ssh at all (ssh into server, bitbucket, etc not working), it failed with the following error:
fatal: Could not read from remote repository. Please make
sure you have the correct access rights and the repository exists.
debug1: Authentication succeeded (publickey).
Authenticated to bitbucket.org ([188.8.131.52]:22).
debug1: setting up multiplex master socket
muxserver_listen bind(): No such file or directory
After trying a lot of different things I found that I was missing this folder ~/tmp, I realized of this after checking here: /private/etc/ssh_config. I found this line:
StrictHostKeyChecking no ControlMaster auto ControlPath ~/tmp/ssh-mux-%h-%p-%r #THIS WAS THE PROBLEM
everything works again.
I thought of answering my own question since it took me some time to find this.