Poor Man's SSH

A poor man’s alternative to using SSH is to combine socat with spiped.

Setup spiped, then

On the server: let spiped execute

socat tcp-l:2023,reuseaddr,fork exec:/bin/tcsh,pty,setsid,setpgid,stderr,ctty

On the client: let spiped execute

socat -,raw,echo=0 tcp:localhost:2023