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
    What are the encryption technologies used to secure my data?
    Viewed 997 times since Mon, Aug 21, 2017
    How to stream the ssh sessions in real time?
    Viewed 2281 times since Wed, Nov 22, 2017
    Where is my data stored?
    Viewed 954 times since Mon, Aug 21, 2017
    Is it possible to view all ssh logs of a deleted user ?
    Viewed 989 times since Sun, Dec 17, 2017
    How does the license upgrade work?
    Viewed 969 times since Mon, Aug 21, 2017
    What are the security measures to ensure data security?
    Viewed 972 times since Mon, Aug 21, 2017
    How to view the Help Menu in the ezsh backend shell?
    Viewed 1016 times since Thu, Nov 23, 2017
    Add custom fields on server add form
    Viewed 103 times since Wed, Mar 27, 2019
    How to reset Ezeelogin admin user password on new customer portal ?
    Viewed 135 times since Fri, Jan 18, 2019
    Can I use Google 2FA, Yubikey , DUO simultaneously?
    Viewed 1838 times since Thu, Dec 14, 2017