![]() I will configure a SSH Tunnel to connect to a Oracle 12c database located in a EC2 instance that uses the default port 1521, If you wish you can configure other port like 5432 (default port for PostgreSQL) or 3306 (default port for MySQL)ġ. Create an SSH Tunnel for MySQL Remote Access: This guide uses PuTTY to create a secure SSH tunnel to access the MySQL command prompt on remote server.In this post I will show you how configure a SSH Tunnel using Putty to connect to a AWS EC2 Instance with CentOS release 6.9 running Oracle 12c.See the “Harden SSH Access” section of Setting Up and Securing a Compute Instance guide to review how to secure SSH on the server’s side, and the Advanced SSH Server Security for more information on making it even more secure. Now that you can connect from your Linux machine to the Linode over SSH, save not only time but also make the connection even more secure by using SSH public key authentication. See the guide Troubleshooting SSH for assistance. If SSH isn’t connecting you to your Linode, you may need to investigate the state of your server. Going Further Troubleshooting SSH Connection Issues Getting to know these commands will help you navigate around your server. This includes many of the basic Linux commands, such as ls, cd, rm, and those covered in Using the Terminal guide. You can now run any commands that you have available on that server. Your command prompt should now show the username and hostname configured for the server. Once you have successfully connected, your terminal should be using the remote shell environment for the server. PuTTY now prompts you to enter the remote user and the password for that user. You can verify the fingerprint by following the instructions under the Verifying the Authenticity of a Remote Server guide. If you trust this connection, press the Accept button to continue connecting to the remote server. When you connect to a server for the first time, PuTTY prompts you to verify that the host key’s fingerprint matches what you expect. ![]() Type in a unique name for the connection under Saved Sessions and press the Save button.Ĭlick the Open button at the bottom of the PuTTY window to open the connection. Optionally, save your session to quickly reconnect in the future. Connection type: Select SSH for the connection type, though you can modify this if using a different protocol. ![]() The default port for most servers is 22, though you can change this port if needed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |