ssh -L localport:localhost:remoteport username@hostip
e.g. ssh -L 9000:localhost:36839 [email protected]
You can then access the website on your local machine on this url http://localhost:9000
If you need to use a private key file, then do
ssh -i ./path-to-private-key-file -L localport:localhost:remoteport username@hostname