AWS Remote Git Setup Get a local git repo up on an EC2 Instance. Add youself to SSH Authentication: Add yourself to the ssh auth agent, if you haven't already. ssh-add path/to/your/EC2.pem Set up destination directory: