

Open PuTTY and key in the domain or IP address of your web server.If you use PuTTY for your SSH needs, here’s how you set up an SSH tunnel alongside your PuTTY connection: If you run into any issues here, head on over to Troubleshooting below.Īrticle continues after the advertisement: b. Once the tunnel goes through, you should be able to access phpMyAdmin using localhost:8888/phpmyadmin or 127.0.0.1/phpmyadmin on your browser. your traffic is being intercepted), and you should stop the SSH tunnel. If you do, and the fingerprint is different from before, there is a chance that you might be a victim of a man-in-the-middle attack (i.e. Type yes (as highlighted above) to continue.ĭo note that on subsequent SSH attempts to your web server, you should not get this message again. If this is your first time accessing your web server, you may get this warning after typing in the command: The authenticity of host ':87 (:87)' can't be established.ĮCDSA key fingerprint is SHA256:rWPHusPLtdOiQUNEhIJ/iv6IKeI0Ptxqx4KH4dS1Sh0.Īre you sure you want to continue connecting (yes/no/)? yes If you don’t have one, you can replace this with your server’s public IP address. If 80 (HTTP) does not work for you, then try using 443 (HTTPS). In most circumstances, this will either be 80 or 443. This is the port where your web server will be accessing phpMyAdmin from. If so, then you will use localhost:8888/phpmyadmin to access the database later on. You can leave it as 8888 if it isn’t already used. This is the port where you will be accessing your web server from.

Take note of the highlighted portions above, as you will need to replace them with values of your choice: Highlight The command to do so is as follows: ssh -L 8888:localhost: 80 If you don’t use any third-party applications to establish your SSH connections, you can also establish a tunnel using the ssh command in Windows’ Command Prompt and Powershell, or macOS’s Terminal.
Aws bitnami phpmyadmin windows#
SSH tunnelling from Command Prompt / Windows Powershell / Terminal This will allow you to access your web server from a device other than your web server itself. To go around the localhost restriction, you can employ a little bit of port forwarding magick called SSH tunnelling to forward your requests for execution on your web server. This may sound a little ridiculous to you, because if you’re running your web server on a LAMP stack… well, those things don’t come with a browser, do they? What with them running on a command line interface and all. Hence, because the program says that you can only access phpMyAdmin from these 2 addresses, what it is essentially saying is that only the web server itself can access the phpMyAdmin URL. SSH tunnelling from Command Prompt / Windows Powershell / TerminalĮssentially, the error is telling you that you can only access phpMyAdmin with the following URLs on your browser:īoth localhost and 127.0.0.1 are loopback addresses, which means to say that it tells a computer to refer back to (i.e.For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.
