Skip to content

Mastering PHP and Laravel

Never stop learning!

Menu

  • Home
  • Blog Posts
  • Humor

Debian

SSH on Debian: Allow public key access only – no passwords

cd /etc/ssh cp sshd_config sshd_config.orig nano sshd_config Make sure the following three lines are set to “no”. They may be in various locations throughout the file: PermitRootLogin no PasswordAuthentication no UsePAM no Then restart the service: /etc/init.d/ssh restart I learned

Kenny December 16, 2014September 27, 2023 Blog Posts, Debian Read more

Archives

Categories

Copyright © 2025 Mastering PHP and Laravel. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.