Skip to content

DevPost

Helper for developer

  • Linux Commands
  • Laravel
  • Homestead
  • WordPress
  • Webmin
Posted on March 12, 2021March 12, 2021 by admin

disable password on server

By default PasswordAuthentication is set to yes, so explicitly commenting it in /etc/ssh/sshd_config and restart sshd has no effect.

You’ll need to explicitly set PasswordAuthentication no to allow only Public Key Authentication.

service ssh restart

https://askubuntu.com/questions/346857/how-do-i-force-ssh-to-only-allow-users-with-a-key-to-log-in

CategoriesLinux Commands

Post navigation

Previous PostPrevious check ram
Next PostNext apachetop

Categories

  • Amazon (1)
  • Android (2)
  • Apache (10)
  • Cloudflare (1)
  • Composer (3)
  • CSS (4)
  • Design patterns (1)
  • DNS (1)
  • Docker (3)
  • Facebook (2)
  • Firebase (1)
  • Git Commands (9)
  • Google (1)
  • Homestead (6)
  • Laravel (19)
  • Linux Commands (46)
  • MySQL (10)
  • Nginx (5)
  • Node (3)
  • Nuxt (8)
  • Opencart (1)
  • PhP (11)
  • PhpMyAdmin (5)
  • Postman (1)
  • Prestashop (6)
  • SSL (6)
  • Trial (1)
  • UFW (1)
  • Vagrant (4)
  • Vite (1)
  • VueJS (7)
  • Webmin (1)
  • Windows (5)
  • Wordpress (5)
  • Zoho (1)
@All rights reserved to DarFio