SSH key generation for azure virtual machine

Hi Team,
I was tasked to create SSH Key Pair for Azure Virtual Machine
this is what I have done


can anyone please help with this as I am not sure why I am having the error. It looks like the the key has been created from what I can see.

Hi saintkings,

Please share the Azure cloud level and the task name, I’ll check it.

Thank you Ray for jumping in.
Azure cloud level 1
Task is “Create SSH Key Pair for Azure Virtual Machine”

Hi,
I am facing same issue here.
Is there any solution for this task?
Thanks,

First you need to generate the key on the client machine, which you did

ssh-keygen - t rsa

Then you need to copy it to the azure vm

ssh-copy-id devops-kp

Now verify it worked by using ssh to login to the vm without a password

ssh devops-kp

If it works complete the task.