RVR-SFTPConn-102
-
Issue Summary
- The error
Connection Error to SFTP {host}. Bad SSH Keys or File. Error Code: RVR-SFTPConn-102indicates a failure to authenticate the connection to the SFTP server. This typically results from incorrect SSH key configuration or unauthorized keys being used. The underlying cause could be that the SSH public key wasn't added correctly to the SFTP server, or the keys might not be formatted or placed correctly on the server.
- The error
-
Action Steps:
- Verify SSH Key Placement:
- Ensure the SSH key being used is correctly associated with your SFTP server. The public key should be in the
authorized_keysfile on the server.
- Ensure the SSH key being used is correctly associated with your SFTP server. The public key should be in the
- Check Permissions:
- Verify that the
.sshdirectory and theauthorized_keysfile have the correct permissions:- Directory
~/.ssh/should have700permissions (chmod 700 ~/.ssh). authorized_keysfile should have600permissions (chmod 600 ~/.ssh/authorized_keys).
- Directory
- Verify that the
- Validate SSH Key:
- Make sure the correct SSH public key is registered on the SFTP server in a single, unbroken line within the
authorized_keysfile. Ensure any changes made to the keys or theauthorized_keysfile have been saved properly.
- Make sure the correct SSH public key is registered on the SFTP server in a single, unbroken line within the
- Generate and Use a New SSH Key Pair:
- If invalid SSH keys are suspected, generate a new SSH key pair and update the server's
authorized_keyswith the public key. Use the newly created private key to establish the connection.
- If invalid SSH keys are suspected, generate a new SSH key pair and update the server's
- Test Connection:
- Use the "Test Connection" feature available in Data Integration to confirm if the connection settings are correct and the credentials are valid.
- Verify SSH Key Placement:
-
External References:
- For more information, you can refer to Data Integration documentation on setting up SFTP connections: Data Integration SFTP Connection Guide.
- Ensure that the IPs listed in Data Integration Whitelisted IP Documentation are correctly whitelisted on your server's firewall settings.
If the issue persists or you need further assistance, please open a ticket with Data Integration support.