Matomo Analytics

Documentation

Disable public key authentication in SSH

You can disable the public key authentication and allow password authentication (you have received your password in the server installation finis...

You can disable the public key authentication and allow password authentication (you have received your password in the server installation finished e-mail)

  1. Log into SSH
  2. Edit the file with your favorite editor: /etc/ssh/sshd_config
  3. Lookup the variable: PasswordAuthentication and change 'no' to 'yes'
  4. Save and close the file
  5. Run this command: service sshd reload

Now you will be able to SSH into your server without public keys.

Dennis Smink

Written by Dennis Smink

Dennis brings over 13 years of hands-on experience in server management, specializing in optimizing web services for scalability and security.

Ready to dive in?
Start your free trial today.

Create an account and enjoy your 5-day free trial — no credit card required.

Start your free trial