There are two different ways applicable to connect to Azure VM from the command line. One way is to connect from the Powershell itself, while the other uses the command line or putty. The below command can be used to connect to Azure VM from the command line.
$ ssh -i <private key path> azureuser@<Public IP>
If you want to unleash your potential in this competitive field, please visit the Microsoft Azure Certification Training page for more information, where you can find the and Microsoft Azure Interview Questions FAQ's and answers as well.
For more updates on the latest courses stay tuned to HKR Trainings.