|
|
|
|
|
by 8fingerlouie
2808 days ago
|
|
is the ssh syntax for doing the same thing really that bad ? I find it easy to remember, it's just one flag (-L) with local_port:remote_ip:remote_port to forward local port 3306 to mysqlhost:3306: ssh -L 3306:mysqlhost:3306
The strength of using ssh is that you can forward multiple ports with the same connection.
i.e. ssh -L 3306:mysqlhost:3306 -L 8080:webhost:80
|
|
In the same topic, do you remember the syntax of tar? I don't. https://www.xkcd.com/1168/