Connect mysql via ssh12/23/2023 ![]() ![]() Your organization may require a different process, but the simplest way to create this user is to execute the following query when logged into Postgres as a user with the right to grant privileges. Creating an Commerce Intelligence Postgres user In these cases, it is necessary to run a command like AllowUsers to allow the rjmetric user access to the server. If the sshd\_config file associated with the server is not set to the default option, only certain users have server access - this prevents a successful connection to Commerce Intelligence. ![]() To finish creating the user, alter the permissions on the /home/rjmetric directory to allow access via SSH:Ĭhown -R rjmetric:rjmetric /home/rjmetric.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 PostgreSQL server. This can be a production or secondary machine, as long as it contains real-time (or frequently updated) data. Creating a Linux user for Commerce Intelligence It is 54.88.76.97/32, but it is also on the PostgreSQL credentials page. Leave this page open throughout the tutorial - you will need it in the next section and at the end.īelow demonstrates how to navigate through Commerce Intelligence to retrieve the key:Īllow access to the Commerce Intelligence IP addressįor the connection to be successful, you must configure your firewall to allow access from your IP address. The public key is located underneath this form.After the PostgreSQL credentials page opens, set the Encrypted toggle to Yes.Go to Manage Data > Connections and click Add a Data Source.Now, you will create the user and import the key. The public key is used to authorize the Commerce Intelligence Linux user. Retrieving the Commerce Intelligence public key Enter the connection and user info into Commerce Intelligence.Create a PostgreSQL user for Commerce Intelligence.Create a Linux user for Commerce Intelligence.Allow access to the Commerce Intelligence IP address.Retrieve the Commerce Intelligence public key.To connect your PostgreSQL database to Commerce Intelligence via an SSH tunnel, you must do a few things: ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |