why here even i amble to login without password still lab is failing
Hi @akshith21 ,
Thanks for reaching out. Please provide the topic name, level and task name.
Regards,
azure level-1 task-12
SSH into an Azure Virtual Machine
Regards
Please help me out
Thanks and Regards
I assume you were able to ssh as azureuser
.
You should be able to ssh to the datacenter-vm as a root
user not azureuser
.
- Copy the public key located at
/root/.ssh/id_rsa.pub
on the Azure client host to theauthorized_keys
file of the root user ondatacenter-vm
.
editing the file /root/.ssh/authorized_keys
in datacenter-vm
to have the id_rsa.pub
file content should solve the issue.