I have a socat that spawns an ssh command:
socat
ssh
socat "tcp-listen:${local_port},reuseaddr,fork,bind=127.0.0.1,keepalive,keepidle=10,keep