Remote SSH Command Execution Using CLI

I am trying to achieve a usecase where I want to run a series of shell and application commands on a remote server using Airflow's SSHExecutor. I have a PEM file for authentication on remote server, but I am not sure how can I achieve a connection using SSHHook using a PEM file. AFAIK, Airflow supports authentication using username/password or SSH's private key mechanism. I am not sure how this PEM file authentication would be supported.

Would appreciate for any hint or jump start in this direction.

Thanking in advance.