RVR-SFTPConn-102
  • 1 Minute to read
  • Dark
    Light
  • PDF

RVR-SFTPConn-102

  • Dark
    Light
  • PDF

Article summary

  1. 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 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.
  2. 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_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 is 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 have been saved properly.
    • 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_keys with the public key. Use the newly created private key to establish the connection.
    • Test Connection:
      • Use the "Test Connection" feature available in Rivery to confirm if the connection settings are correct and the credentials are valid.
  3. External References:

If the issue persists or you need further assistance, please open a ticket with Rivery support.


Was this article helpful?