In case you have locked UFW (Uncomplicated Firewall) on your Amazon EC2 instance and then logged out. When you try to connect to this EC2 instance via PuTTY or just via SSH, it does not work because you forgot to add SSH (port 22) to the UFW rules.
In this detailed guide, we will cover the intricacies of connecting to MySQL via SSH tunnel. By following this step-by-step approach, you will learn how to securely work with data on a remote MySQL server. The guide is also applicable to MariaDB.
Not all terminal commands perform productive tasks and know how to value. Some are here for fun and to bring a smile to your face.
We can open several terminals in one window and work in them at once, see what happens within one window or several terminals.