Entering edit mode
2.4 years ago
anikcropscience
▴
230
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
/usr/local/bin/socat
My question is, how can I move the Socat from the above folder to the /usr/bin/socat
to make it work?
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.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.