Note: This question is part of a series of questions that present the same scenario. Each questions in the series
contains a unique solution that might meet the stated goals. Some questions sets might have more than one
correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will
not appear in the review scree.
You create an Ubuntu Linux virtual machine (VM) by using the Azure Portal. You do not specify a password
when you create the VM.
You need to connect to the terminal of the VM.
Solution: You connect to the public IP address of the VM by using Secure Shell (SSH) and specify your private
key.
Does the solution meet the goal?
A.
Yes
B.
No
Explanation:
https://docs.microsoft.com/en-us/azure/virtual-machines/virtual-machines-linux-quick-create-portal?toc=%
2fazure%2fvirtual-machines%2flinux%2ftoc.json
The answer is YES. You use the private key to connect to the VM not the public key.
I agree Starlin.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ssh-from-windows
The public key is placed on your Linux VM, or any other service that you wish to use with public-key cryptography.
The private key is what you present to your Linux VM when you log in, to verify your identity. Protect this private key. Do not share it.
The answers for the question 52 and 53 are both wrong.
No, 52 is right. You can’t use the Connect button.
I agree with you guys.
No password when creating the VM.
Connect to PUBLIC IP via SSH with PRIVATE key.
Public key placed on VM.
Answer is definitely Yes.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ssh-from-windows
for gods sake the answer is obvious to any linux user, answer is “YES”. who places all those wrong answers? so many of them like someone wants us all to fail 😀 lol.
This is wrong… Answer should be Yes. You must supply either a Password or SSH Public Key to proceed with the deployment.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ssh-from-windows
You can securely log in to your Linux VM by using public and private keys:
The public key is placed on your Linux VM, or any other service that you wish to use with public-key cryptography.
The private key is what you present to your Linux VM when you log in, to verify your identity. Protect this private key. Do not share it.
but we need to connect to private ip ?