Enable SSH Key based authentication and Disable Password Authentication in ssh

Hardening Authentication in SSH.

  • Enable SSH Key based authentication
  • Disable Password Authentication in sshd configuration file

root@gateway :vi /etc/ssh/sshd_config

PubkeyAuthentication yes

# To disable tunneled clear text passwords, change to no here!

PasswordAuthentication no


root@gateway : service sshd restart



0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Do i need to install an agent on every machine or instance that I need to manage in Ezeelogin?
    Viewed 1480 times since Mon, Aug 21, 2017
    Is it a hosted solution?
    Viewed 1511 times since Mon, Aug 21, 2017
    How to install Ezeelogin with a standalone license ?
    Viewed 184 times since Tue, Mar 10, 2020
    How to reset mysql or Mariadb root password ?
    Viewed 89 times since Mon, Jun 1, 2020
    How to install Google authenticator on Centos/Ubuntu?
    Viewed 50 times since Wed, Jun 17, 2020
    Can the software be compromised?
    Viewed 1391 times since Mon, Aug 21, 2017
    How to set user password lifetime for expiry
    Viewed 163 times since Wed, Apr 15, 2020
    Why is ezeelogin the most secure gateway?
    Viewed 1584 times since Mon, Aug 21, 2017
    What operating systems and platforms are supported to install jump server?
    Viewed 3482 times since Wed, Jun 14, 2017
    Connect jumpserver using putty
    Viewed 754 times since Tue, Apr 2, 2019