Intro
This article explains how to use Domo’s PostgreSQL SSH Writeback Connector to export data to a PostgreSQL database in the Data Center via an SSH tunnel, configure connection credentials, and define how data is written to the target table.Prerequisites
To connect to a PostgreSQL database via an SSH tunnel and create a DataSet, you must have the following:- The username and password you use to log into your PostgreSQL database
- The name of the PostgreSQL database
- The port number for the PostgreSQL database
- The PostgreSQL database hostname or IP address
- The UNIX server to SSH-tunnel through
- The username for the UNIX account
- The SSH port number
- The SSH private key (either DES or RSA)
Note: The owner of a writeback DataSet must also be an owner or co-owner of the input DataSet.
Note:
- Domo does not support SSH keys generated using ssh-keygen. The SSH keys must be DES or RSA keys generated by OpenSSL.
- The owner of a writeback DataSet must also be an owner or co-owner of the input DataSet.
Configure the Connection
This section describes the options in the Credentials and Details panes on the PostgreSQL SSH Writeback Connector page. The components of the Scheduling and Name & Describe Your DataSet panes are universal across most connector types and are discussed in Add a DataSet Using a Data Connector.Enter Your Credentials
The Credentials pane contains fields for entering credentials to connect to your database and SSH server. The following table describes what is needed for each field.
After you have entered valid credentials, you can use the same account any time you set up a new Domo-PostgreSQL SSH connection. You can manage connector accounts in the Accounts tab in the Data Center. For more information about this tab, see Manage User Accounts for Connectors.