AndFTP & Android 12: ssh key auth broken after update

FTP client for Android handsets.
Post Reply
jiivee
Posts: 1
Joined: Wed Aug 04, 2021 5:19 am
AntiSpam sum: 8

AndFTP & Android 12: ssh key auth broken after update

Post by jiivee »

Today I noticed that my nightly AndFTP transfers had failed in my Android 12 phone. Error is:

Code: Select all

pemPrivateKey argument is null
My configuration uses RSA keys and SSH provider is default (Under Advanced -> Expert/specific FTP settings).

I created also ed25519 key and wire-transferred it to phone from computer. To use it I changed SSH provider to Secure.

No matter what I do with the id_ed25519 private key file I get error:

Code: Select all

open failed: EACCESS (permission denied) android.system.Errno.Exception: open failed: EACCESS (permission denied)
Then I tried to revert back to id_rsa key. I get same EACCESS error as with id_ed25519 key when connecting to remote server.

Finally I checked Google Play Store and it said AndFTP had been updated 2022-08-17 :!:

If I click "AndFTP (your FTP client)" in Play store, I get error:

Code: Select all

Something went wrong
Try again
For any other apps app's info page opens correctly.

What is going on with AndFTP :?: :?:

support
Posts: 853
Joined: Sun Apr 20, 2008 4:40 pm

Re: AndFTP & Android 12: ssh key auth broken after update

Post by support »

Hi, you have to relocate the private.key to a folder accessible under Android 11+. If your file is under Documents/ or Download/ then click "External" to setup this folder and then you will see the file.

Post Reply