![]() Touch /home/rjmetric/.ssh/authorized_keys Remember the public key you retrieved in the first section? To ensure that the user has access to the database, you need to import the key into authorized\_keys.Ĭopy the entire key into the authorized\_keys file as follows: To add the new user, run the following commands as root on your Linux server:.You may restrict this user any way you like, as long as it retains the right to connect to the MySQL server. This can be a production or secondary machine, as long as it contains real-time (or frequently updated) data. See the blue box in the GIF above? That is it! Creating a Linux user for MBI They are 54.88.76.97 and 34.250.211.151 but they’re also on the MySQL credentials page. ![]() If you are a bit lost, here’s how to navigate through MBI to retrieve the key:įor the connection to be successful, you must configure your firewall to allow access from your IP addresses. Leave this page open throughout the tutorial - you will need it in the next section and at the end. The public key is located underneath this form.After the MySQL credentials page opens, set the Encrypted toggle to Yes.Go to Manage Data > Connections and click Add New Data Source.In the next section, you will create the user and import the key. The public key is used to authorize the MBI Linux user. To connect your MySQL database to MBI via an SSH tunnel, you (or your team, if you are not a techie) must do a few things: Enter the connection and user info into MBI.
0 Comments
Leave a Reply. |