I have fixed it by converting my private SSH key:
ssh-keygen -p -m PEM -f ~/.ssh/private-key
serverfault.com/a/950686