Hello,
I have the same issue. Also, I ran the chmod -R 740 ~/.ssh/, but I am still having the Permission denied (publickey)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm getting the famous Permission denied (publickey) error trying to connect to a fresh Debian 11 VM instance. The connection is initiated immediately after the VM instance is deployed (the private key stored during the deployment process).
I'm not experiencing this on a fresh Ubuntu VM instance, this works immediately after I create a new Ubuntu VM.
For both connections I'm issuing the same command, i.e. ssh -i <private key path> azureuser@xxxxxxxxx
Thx,
Miro.
Hello,
I have the same issue. Also, I ran the chmod -R 740 ~/.ssh/, but I am still having the Permission denied (publickey)