I'd like to be able to remotely listen to UNIX sockets in order to make programs such as
dtach, which only support listening to UNIX sockets, work remotely. I've read about
socat and how it's able to forward UNIX sockets to TCP sockets and vice-versa, but in practice I haven't been able to make this work. So, through
socat or any other means, how can one remotely listen to UNIX sockets?
(If you happen to know how to make
dtach work remotely, then that's fine too. This question is simply an abstract question to the actual problem.)