SSH tunnel - Nantawat6510545543/big-data-summary GitHub Wiki
If you want to access a service via browser but it's blocked by a firewall, follow one of the methods below.
sudo ufw allow <port>/tcp
sudo ufw reload
ssh -N -L <port>:localhost:<port> hadoop@<your-vm-ip> -vv
Then access from your browser:
http://localhost:<port>
Allow through firewall:
sudo ufw allow 5601/tcp
sudo ufw reload
SSH tunnel from your local machine (your pc):
ssh -N -L 5601:localhost:5601 [email protected] -vv
Then open:
http://localhost:5601