Wasim Bagwan
07/29/2025, 1:46 PMkapa.ai
07/29/2025, 1:46 PMssh-keygen -t rsa -m PEM -f myuser_rsa Make sure the private key you paste into Airbyte starts with -----BEGIN RSA PRIVATE KEY----- and ends with -----END RSA PRIVATE KEY----- [Connecting with SSL or SSH Tunneling](https://docs.airbyte.com/integrations/sources/singlestore#connecting-with-ssl-or-ssh-tunneling), [Forum Post: MySQL Source unable to connect via SSH](https://discuss.airbyte.io/t/2084). 2. SSH Tunnel Configuration: Double-check the following fields in your Airbyte source configuration: - SSH Tunnel Jump Server Host: Should be the hostname or IP of your bastion. - SSH Connection Port: Default is 22 unless you use a custom port. - SSH Login Username: This should be the OS user on the bastion, not your Postgres username. - SSH Private Key: Paste the full PEM-formatted RSA private key. - SSH Tunnel Method: Select "SSH Key Authentication" [Connecting with SSL or SSH Tunneling](https://docs.airbyte.com/integrations/sources/singlestore#connecting-with-ssl-or-ssh-tunneling). 3. Network Accessibility: Ensure that the Airbyte server can reach the bastion host on the SSH port and that the bastion can reach the Postgres server on its port (usually 5432). 4. Key Permissions: The private key should not have overly permissive permissions. Sometimes, SSH clients reject keys that are too open (e.g., 600 is recommended). 5. Other Clients vs. Airbyte: Some clients (like pgAdmin) may use different SSH libraries or support more key formats. Airbyte is strict about the PEM RSA format. 6. Logs for More Details: Check Airbyte server logs for more detailed error messages, which might indicate if the failure is at the SSH handshake, authentication, or port forwarding step. If you have confirmed all the above and the issue persists, it may be related to a specific incompatibility or bug. In that case, providing the exact Airbyte version and connector version, as well as relevant logs, will help further diagnose the problem. Summary: The most common cause for this error in Airbyte is using an unsupported SSH key format. Ensure your private key is in RSA PEM format and all SSH tunnel configuration fields are correct. If the problem continues, check Airbyte logs for more details and consider possible network/firewall issues between Airbyte, the bastion, and the Postgres server. If you need more specific troubleshooting, please provide the Airbyte version and connector version you are using.Wasim Bagwan
07/29/2025, 1:48 PMkapa.ai
07/29/2025, 1:48 PMkapa.ai
07/29/2025, 1:48 PM-----BEGIN RSA PRIVATE KEY----- and end with -----END RSA PRIVATE KEY----- This is the format required by Airbyte for SSH tunneling. You can generate it using: ssh-keygen -t rsa -m PEM -f myuser_rsa [Connecting with SSL or SSH Tunneling](https://docs.airbyte.com/integrations/sources/singlestore#connecting-with-ssl-or-ssh-tunneling), [Forum Post: MySQL Source unable to connect via SSH](https://discuss.airbyte.io/t/2084). - OPENSSH format: The private key will start with -----BEGIN OPENSSH PRIVATE KEY----- This format is not supported by Airbyte for SSH tunneling. If your key is in the OPENSSH format, you will need to generate a new key in the PEM (RSA) format as shown above. --- Regarding your Airbyte server on EKS with an ALB and changing endpoint IPs: The knowledge sources do not contain specific information about handling dynamic IPs or ALB setups with Airbyte. If your Airbyte instance's outbound IP changes frequently, ensure that your bastion/jump server allows SSH connections from all possible IPs used by your EKS nodes, or use a more stable networking setup if possible. For more details on networking and security group configuration, please consult your AWS documentation, as this is outside the scope of the provided Airbyte documentation.