Don't run development tools on your VPS - just don't do it.
I would never run something like phpMyAdmin on a VPS unless I was hosting for other users that had no idea what they were doing.
Did you know you can run phpMyAdmin (or MySQL Workbench) on your own computer and use an SSH tunnel to have it access the MySQL on your VPS?
ssh -L 33066:127.0.0.1:3306 user@site.com
This will allow you to configure your phpMyAdmin to listen over port 33066
and have it forwarded to your VPS. You can even add it as an alias in your .bashrc ($ vim .bashrc
) so you can call it like $ vps_db
?
alias vps_db = 'ssh -L 33066:127.0.0.1:3306 user@site.com'
This also works for browsing the web if you want to have your own private HTTP(s) proxy so your IP shows your VPS IP.
So what port forwarding techniques do you use most often?