Unable to connect to sftp with preshared key using raidrivecli

I have openssh deamons running on two separate linux vps configured with preshared keys. Both are confirmed to work and I’ve previously used RaiDrive to mount their file systems locally on Windows. I am currently limited to linux and am attempting the same on my current system… however, raidrivecli seems to not understand how preshared keys work.

An example with one of the vps in question:

It appears to be asking me for a password despite being told to use my private keyfile instead. I thought it might be asking for the password on the key file and gave that, but as you can see, it did not work. I’ve also tried specifying the password for the keyfile on the command line with the --private-key-password option… something I am actually strongly opposed to doing in practice… but this still requested that I enter a password and failed with the same error above.

I currently have the remote sftp shares mounted locally via sshfs and a couple lines in my fstab file. However, I’ve found that this setup behaves very badly if network connections drop or change when moving from location to location. My entire system locks up when I try to unmount or access these shares after such an event. I am hoping RaiDrive will be more tolerant of such issues.

Any help would be much appreciated.

NOTE: I simply wanted to head off any confusion in advanced about why the port seems to be ghosted. Port 22 on the machine in the above screenshot is blocked to all IPs that are not in a netfilter-based whitelist. So if anyone attempts to test/connect you will simply time out instead. This is one of many security measures I’ve implemented. I have confirmed that my current IP is whitelisted and am, at this very instant, logged into the vps machines via ssh using the same key as the above screenshot… so that’s definitely not the issue here.

image

Hi, @JadedDragoon

Thank you for reporting the error.

There was a problem with the current SFTP Private Key settings and procedures.
Please use the ID and password method for now.

It will be fixed in the next version.
We will notify you when the patch is released.

Thank you,
RaiDrive Support

For security reasons I have password login disabled for the VPS’ in question. However, I will wait for a patch to resolve the issue. At least I know it wasn’t a mistake on my part. Thank you in advance.

Hi, @JadedDragoon .

I have sent you the RaiDrive patch for the SFTP private key issue by email.
Please let me know the results after testing.

Thank you,
RaiDrive Support

instead of sending a single person the patch, why not make it an actual update for everyone? i also have this issue.

Hi, @alriceeeee

The patch has been applied to RaiDrive CLI 2025.7.0 version.
However, we sent the patch version to the users who reported the issue, but we did not receive the test results, so it was not included in the release notes.
I would appreciate it if you could test it with RaiDrive CLI 2025.7.0 version.

Thank you,
RaiDrive Support