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.
So I started debugging and this is the output for ssh -Tv [email protected]:
debug1: Authentication succeeded (publickey).
Authenticated to bitbucket.org ([131.103.20.168]:22).
debug1: setting up multiplex master socket
muxserver_listen bind(): No such file or directory
No idea what is wrong, I used ssh several times and never had this issue. I'm using osx by the way.
This question was closed as of topic, but in my opinion SSH is a tool used in everyday developing, please consider re opening it
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
So after:
mkdir ~/tmp
everything works again.
I thought of answering my own question since it took me some time to find this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With