Skip to main content
Feedback

RVR-SFTPConn-102

Issue summary

  • The error Connection Error to SFTP {host}. Bad SSH Keys or File. Error Code: RVR-SFTPConn-102 indicates a failure to authenticate the connection to the SFTP server. This typically results from incorrect SSH key configuration or unauthorized keys used. The underlying cause could be that the SSH public key was not added correctly to the SFTP server, or the keys might not be formatted or placed correctly on the server.

Action steps

To resolve the error, follow these steps:

  • Verify SSH Key Placement:
    • Ensure the SSH key in use is correctly associated with your SFTP server. The public key should be in the authorized_keys file on the server.
  • Check Permissions:
    • Verify that the .ssh directory and the authorized_keys file have the correct permissions:
      • Directory ~/.ssh/ should have 700 permissions (chmod 700 ~/.ssh).
      • authorized_keys file should have 600 permissions (chmod 600 ~/.ssh/authorized_keys).
  • Validate SSH Key:
    • Make sure the correct SSH public key registered on the SFTP server in a single, unbroken line within the authorized_keys file. Ensure any changes made to the keys or the authorized_keys file saved properly.
  • Generate and Use a New SSH Key Pair:
    • If you suspect the invalid SSH keys, generate a new SSH key pair and update the server's authorized_keys with the public key. Use the newly created private key to establish the connection.
  • Test Connection:
    • Use the Test Connection feature available in Data Integration to confirm if the connection settings are correct and the credentials are valid.

External references

note

If the issue persists or you need help, open a case with Data Integration Support. In the console sidebar, select Help > Contact Us and follow the instructions.

On this Page