I finished this correctly but still task failed
You have created the ssh key as root user whare as the task will run as a normal user. I have updated this on the review as well. Give it another try.
@dominic please submit a review for your task, we will take a look.