1 minute reading time (234 words)

Azure VM - Putty SSH public key error "No supported authentication methods available"

 SOLVED: How to fix error "No supported authentication methods available" by resetting the Azure Virtual Machine's SSH public key

SSH Error - No supported authentication methods available

Error when trying to connect to an Azure VM using SSH - No supported authentication methods available

Steps to fix "No supported authentication methods available"

1. Generate a public private key pair using Putty Key Generator

Open Putty Key Generator

Click Generate to create a new public/private key pair

Enter a key comment and passphrase
Copy the new public key and paste it into notepad
Save the private key file

2 Reset Azure Virtual Machine SSH public key

Reset the VMs SSH public key from the Azure portal

Virtual Machine
Help - Reset password - Reset SSH public key
Enter the username and paste the public key

3 Connect to Azure VM using SSH key

Open Putty and select the private key file

Connection - SSH - Auth - Credentials - select private key

Connect to the Azure VM

Enter the host name and port, then click open

Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Saturday, 23 September 2023
You can help support this website by buying me a coffee!
Buy Me A Coffee