Socat not found in the /usr/bin folder in MacOS
Entering edit mode
5 weeks ago

I have installed socat using brew install socat on my Mac and then tried to connect to the cluster. But it does not connect. It throws the following error message:

zsh:1: no such file or directory: /usr/bin/socat
kex_exchange_identification: Connection closed by remote host

I typed which socat which gives the following information


My question is, how can I move the Socat from the above folder to the /usr/bin/socat to make it work?

Socat bash MacOS • 194 views
Entering edit mode

First of all, brew will always install into the local bin, otherwise it could overwrite system binaries in the /usr/bin/. Second, why does the binary need to be in that particular location, and what does "connect to cluster" mean. Please state what you aim to do, and some links to the docs of the tool, there is in all likelihood a flag that allows to change where it looks for the binary.

Entering edit mode

Hi, so I am trying to connect to my lab group server to run some analysis. It is based on Ubuntu. And I am using a Mac. So to connect to server I need to install Socat. I installed it and it is in the /usr/local/Cellar/Socat folder. But when I try to connect to the server, it throws the error that the binary executable is not in the /usr/bin folder.


Login before adding your answer.

Traffic: 1871 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6