问题
I've been trying connecting my PHP my admin
via ssh Client tool putty, but my URL gets redirected to my website URL
from 127.0.0.1:8888/phpmyadmin to example.com:8080/phpmyadmin
which throws me the following error
For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname.
回答1:
This is a built-in security feature. In order to access your server using SSH using Putty, you must create an SSH tunnel to route your request.
I found this guide that explains in detail how to get this set up:
https://docs.bitnami.com/google/faq/get-started/access-phpmyadmin/
来源:https://stackoverflow.com/questions/57201530/google-cloud-php-my-admin-is-not-getting-connected-with-ssh