Hi Guys,
I have one Virtual Machine in Azure Cloud. I want to connect to the VM from the command line. But it is showing me the below error.
Warning: Permanently added 'xxxxxxxxxxxx' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions for 'NewVM_key.pem' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "NewVM_key.pem": bad permissions
azureuser@xxxxxxxxxxxx: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).