In a fit of inspiration just after posting, I added the following to ~/.ssh/config
:
Host someServer
Hostname 1.2.3.4
User ubuntu
IdentityFile ~/.ssh/pem/Me.pem
And I simply cloned the Git repo as such:
git clone ssh://someServer/opt/git/someRepo.git
This has the terrific effect of including the .pem
file as needed.