Gowrav Tata
02/09/2023, 7:23 AMNataly Merezhuk (Airbyte)
02/13/2023, 8:09 PM.pem file for authentication in the MongoDB source by following the steps outlined in the Airbyte documentation.
First, you need to generate an RSA private key. To do this, run the following command:
ssh-keygen -t rsa -m PEM -f myuser_rsa
This will generate the private key in PEM format and the public key in the standard format used by the authorized_keys file on your bastion server. Add the public key to your bastion host to the user you want to use with Airbyte.
Then, when configuring the MongoDB source in Airbyte, select the SSH Key Authentication option and enter the RSA private key in the SSH Private Key field. This should be the full contents of the key file starting with -----BEGIN RSA PRIVATE KEY----- and ending with -----END RSA PRIVATE KEY-----.
For more information, please refer to the Airbyte documentation.