How to enable Public key based authentication and Allow root login in SSHD

Enabling key based authentication in SSH and enabling root login in SSH.

vi /etc/ssh/sshd_config

PubkeyAuthentication yes

PermitRootLogin yes

Restart the ssh deamon so that the new settings comes into effect. 

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
    How to reset Ezeelogin admin user password on new customer portal ?
    Viewed 179 times since Fri, Jan 18, 2019
    What are the security measures to ensure data security?
    Viewed 1009 times since Mon, Aug 21, 2017
    Installing Jump server or Bastion host on a linux host in Google or AWS instance ?
    Viewed 1963 times since Thu, Sep 21, 2017
    What are the details transmitted to the license server? What is the size of data transmitted?
    Viewed 1000 times since Mon, Aug 21, 2017
    What are the outbound ports that needs to be opened for fetching the license?
    Viewed 990 times since Mon, Aug 21, 2017
    Will i be locked out of my servers if my ezeelogin hosted server goes down ?
    Viewed 1611 times since Mon, Aug 21, 2017
    How does the license upgrade work?
    Viewed 1014 times since Mon, Aug 21, 2017
    Is it possible to disable security codes in ssh gateway?
    Viewed 911 times since Wed, Jan 31, 2018
    How to stream the ssh sessions in real time?
    Viewed 2401 times since Wed, Nov 22, 2017
    Add custom fields on server add form
    Viewed 155 times since Wed, Mar 27, 2019