You will require an ssh-agent to provide the .pem key during ssh
Here are the steps for the same :
1) Start the ssh-agent
eval `ssh-agent -s`
2) Add the .pem file to the agent
Now you no longer require a .pem file while you ssh into the EC2 instance
Hope this helps!
If you are still looking into expanding your knowledge regarding EC2 instances, check out :