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 Team,
I was tasked to create SSH Key Pair for Azure Virtual Machine
this is what I have done
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.
Thank you so much I appreciate your time it is working now
Thank you so much I appreciate your time. It worked
Hey friends, I have an issue. I do not understand the aspect of copying the ssh keys to the vm, is this vm already created?
Hi,
For this task, we only need to create the SSH keys in the portal. The Azure credentials are already provided. Use the Azure credentials to access the portal and create an SSH key.
Hello, I login using the given credentials and created the ssh keys in the portal via the in build terminal but I still got an error when I tried to confirm the task.
What could be the cause of this?
Hi,
What command did you use to create the SSH key? Also, could you please share the screenshot about list of SSH keys in the portal?