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

:wq

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
    Connect jumpserver using putty
    Viewed 638 times since Tue, Apr 2, 2019
    How to secure SSH jump server / SSH bastion host / SSH gateway
    Viewed 5171 times since Thu, Jun 15, 2017
    Install slave / secondary node for high availability in jump server
    Viewed 3366 times since Wed, Jun 14, 2017
    Why is Ezeelogin the most secure ssh gateway?
    Viewed 2379 times since Thu, Jun 15, 2017
    How to convert the ppk files to openssh format
    Viewed 6151 times since Fri, Aug 3, 2018
    Installing Jump server or Bastion host on a linux host in Google or AWS instance ?
    Viewed 2846 times since Thu, Sep 21, 2017
    Where do i view the changelog | Release notes for Ezeelogin jump server ?
    Viewed 2072 times since Wed, Jun 14, 2017
    Is it a hosted solution?
    Viewed 1451 times since Mon, Aug 21, 2017
    The IP field must contain a valid public IP or how to install Ezeelogin on a machine in lan
    Viewed 3310 times since Wed, Jun 14, 2017
    Will i be locked out of my servers if my ezeelogin hosted server goes down ?
    Viewed 2538 times since Mon, Aug 21, 2017