Reliable Remote Laptop Connections using tmate

If you even have a need to connect to a remote laptop, tmate is the solution. Had tried this personally in MacOS Catalina (10.15.5) and it works fine.

1brew install tmate

I encountered this error though after installation:

1$ tmux
2dyld: Library not loaded: /usr/local/lib/libevent-2.0.5.dylib
3  Referenced from: /usr/local/bin/tmate
4  Reason: image not found
5Trace/BPT trap: 5

Solution is to uninstall and re-install

1brew uninstall --force tmate
2brew install tmate

So in summary, one installs tmux and the other simply connects to it via ssh.

Try it. More details in https://tmate.io/