ssh tunnel through

ssh -L 9090:10.20.30.40:9090 <server>
nc localhost 9090

To a container:

ssh -nNT -L 443:10.20.30.40:443 <user>@<server>