New answers tagged socket
In the client's configuration file (/etc/ssh/ssh_config), uncomment lines 42 and 43.
Those commands have to be run when the server you want to monitor is currently listening on /path/to/sock. Then, if you rename /path/to/sock, the server won't be affected. The socat command inserts a man-in-the-middle. It listens on /path/to/socks and forwards all the traffic by the clients to /path/to/socks.original (and logs it in the process with -v). ...
Top 50 recent answers are included