SSH Tunnelling

SSH Tunnel

By ssh tunnelling, you can work on a website on a remote server and test it like it's on your local network!
In this case you can connect to http://localhost:1111/ on your server which is hosted on port 1112

#ssh -L LOCAL_PORT:LocalHost:REMOTE_PORT -N -f -l username remote_server_ip
ssh -v -L 1111: -N -f -l username remote_server_ip

This also works

ssh -v -L 1111: -N -f username@remote_server_ip