What is the correct OpenSSH key file format for SFTP Account - SSH Auth

Hello
I’m getting this error on validating the Directory browser snap with an SSH Auth Account.

The private key has the header : ---- BEGIN SSH2 PRIVATE KEY ----
---- END SSH2 PRIVATE KEY ----

Can you please suggest how this can be fixed?

Thanks,
Darshita