Training: Instruction to develop new skills.
So, with Azure VMs, you don't really get a traditional "sudo" password. Instead, you use an SSH key pair. The public key is like your virtual ID card stored in Azure, and the private key is like your secret key held on your computer. When you want to connect to your VM, you use your private key to prove it's really you.
Open a terminal on your local machine.
bashCopy code
ssh -i /path/to/private/key.pem username@your_vm_ip
Replace /path/to/private/key.pem with the path to your private key file, username with your Azure VM username, and your_vm_ip with the public IP address or DNS name of your Azure VM.
if this helps, kindly accept the answer thanks much.