How do I use my .pem file from Amazon EC2 with mosh?

I ended up needing to run the command like this:

mosh --ssh="ssh -i ~/.ssh/kp1.pem" [email protected]

This works, but I also needed to add a rule for port 60001 for mosh to run on in the EC2 management console under security groups.