I have some old unix running as vm on VirtualBox server those vm had the serial ports simulated by unix socket for example: an old AT&T 2.1 SVr4 has socket on /tmp/att1 to connect i did
minicom -D unix#/tmp/att1
I heard somewhere ssh can connect to unix sockets. How to do?
I have tried
socat TCP-LISTEN:5500 EXEC:'ssh user@server "socat STDIO UNIX-CONNECT:/tmp/att1"'
ssh server -p 5500
But give me error
ssh_dispatch_run_fatal: Connection to 192.168.0.2: message authentication code incorrect
ssh -R/tmp/att1:/tmp/att1 -R127.0.0.1:1233:/tmp/att1
But failed with remote port failed error.