SSH Connectivity Attempt Policy on Password Authentication Failure

Hello, We have been using the SFTP connectivity feature, lately we have seeing excessive hammering from user to the SFTP host. We want to understand the policy followed by the Rai Drive if the user has setup the RAiDrive shared mapped drive, and the password expires due to the Active Directory mandate. How the utility would behave.

  1. Would it keep on attempt to authenticate, what’s the frequency
  2. Would it stop the attempts after a certain number of failed attempt.
  3. When is the authentication done, at the time of the mapping of the drive. Or also , when users open a folder/file within.

Hi~ @Sandeep_Banerjee ,

The latest version of RaiDrive has only one SFTP connection.

So, when you try to connect a drive, it initiates authentication, and when authentication is complete, maps the remote drive to a local drive.
Authentication will not be attempted again after that.
However, if the connection is disconnected, an authentication-related error occurs, or a complex error occurs, the connection is established again.

If you send us the log file(C:\ProgramData\OpenBoxLab\RaiDrive\log) of the device with the issue by e-mail(, we’ll see if there are any other issues.

Hi Raidrive team,
Thanks much for the response. The use case we are attempting to get more insight from architecture perspective is where; if the connection is ongoing and then user’s password changes. From your response earlier it seems the Raidrive would try again for establishing connection, what we want to understand is how soon it tries and how many times, and if any way we can configure the re-attempt frequency/condition.
We are using the version: 2020.11.38

Thanks lot for continued conversation.

Hi~ @Sandeep_Banerjee ,

We’re referring to the latest version (2023.2.22).

The initial SFTP connection is attempted only once, and an error is displayed if the first attempt fails.

If you change your password after the SFTP connection is complete, there are two cases that can happen.

  1. in cases like Linux, the SFTP connection is maintained and you can use it without any problems.
  2. if you disconnect, such as from a NAS, or if your network is disconnected, the SFTP connection will be retried.

RaiDrive will make a total of 6 attempts to connect in case of disconnection.
The interval between retries increases exponentially: (1 → 2 → 4 → 8 → 16)
After a total of 6 attempts, it will disconnect and reconnect the drive.
At this point, an error will be displayed on the screen after 1 connection attempt.

It would be helpful if you could email( us the log file(C:\ProgramData\OpenBoxLab\RaiDrive\log) of the user who got the error.

The number or interval between these retries cannot be modified by the user.
Please let us know your thoughts on this issue.