![]() ![]() MySQL client Create SSH Tunnel and Connect to the Database Server from Windows In this tutorial, we will show you how to connect to a MySQL server through SSH tunneling, or local port forwarding. For some people, this would take time and they would use SSH tunneling instead. To connect remotely to the server, we need to make MySQL or PostgreSQL listen not only on localhost, we would also need to add or edit the database user’s permission to be able to connect remotely, modify the firewall, etc. There are three types of SSH port forwarding.īy default, MySQL or PostgreSQL server only listens on localhost which means it can only be accessed by other applications hosted on the same server. ![]() It allows us to use the established SSH connection to set up a new “secure” connection from your computer to the remote server. SSH tunneling is also known as SSH port forwarding, which means we can route our traffic through SSH secure connection. For example, we can add/edit/delete the services running on the server using an SSH client like PuTTY or Terminal. With this protocol, we can manage our servers and work on them remotely. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |