Help for this page
$ ssh -t remA ssh remB
$ ssh remA -L... -R... -o 'ProxyCommand ssh remA sshd -i -f /your/home +/your_sshd_config' remA-foo