Connecting to a database behind a firewall
ssh -L 9000:localhost:5432 [email protected]
Remote port forwarding
ssh -R 9000:localhost:3000 [email protected]
sudo nano /etc/ssh/sshd_config GatewayPorts yes sudo service ssh restart
Connecting to a database behind a firewall
ssh -L 9000:localhost:5432 [email protected]
Remote port forwarding
ssh -R 9000:localhost:3000 [email protected]
sudo nano /etc/ssh/sshd_config GatewayPorts yes sudo service ssh restart