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
    Webportals unavailable for user
    Viewed 2965 times since Fri, Dec 8, 2017
    Where is my data stored?
    Viewed 1454 times since Mon, Aug 21, 2017
    Will i be locked out if i loose connectivity to the license server or if the Ezeelogin license servers goes down?
    Viewed 2284 times since Mon, Aug 21, 2017
    Will i be locked out of my servers if my ezeelogin hosted server goes down ?
    Viewed 2370 times since Mon, Aug 21, 2017
    How does the license upgrade work?
    Viewed 3981 times since Mon, Aug 21, 2017
    How to reset Ezeelogin admin user password on new customer portal ?
    Viewed 594 times since Fri, Jan 18, 2019
    Installing Jump server or Bastion host on a linux host in Google or AWS instance ?
    Viewed 2726 times since Thu, Sep 21, 2017
    How to stream the ssh sessions in real time?
    Viewed 3537 times since Wed, Nov 22, 2017
    Can I use Google 2FA, Yubikey , DUO simultaneously?
    Viewed 2859 times since Thu, Dec 14, 2017
    What are the encryption technologies used to secure my data?
    Viewed 1426 times since Mon, Aug 21, 2017