How to enable WordPress Automatic Updates with SSH private key


I would like to be able to use automatic updates within my WordPress control panel so that I can update plugins an themes with a single-click. However, I am using an Amazon EC2 instance, which does not use an FTP password, it uses an SSH private key on port 22.

Can you please tell me how to achieve this?

Thank you,