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
    Where is my data stored?
    Viewed 1098 times since Mon, Aug 21, 2017
    How to view the Help Menu in the ezsh backend shell?
    Viewed 1179 times since Thu, Nov 23, 2017
    Is it possible to view all ssh logs of a deleted user ?
    Viewed 1145 times since Sun, Dec 17, 2017
    What are the outbound ports that needs to be opened for fetching the license?
    Viewed 1083 times since Mon, Aug 21, 2017
    How does the license upgrade work?
    Viewed 1118 times since Mon, Aug 21, 2017
    How to grant Parallel Shell privilege for a user?
    Viewed 2613 times since Wed, Nov 22, 2017
    Webportals unavailable for user
    Viewed 2289 times since Fri, Dec 8, 2017
    What are the details transmitted to the license server? What is the size of data transmitted?
    Viewed 1099 times since Mon, Aug 21, 2017
    What are the encryption technologies used to secure my data?
    Viewed 1113 times since Mon, Aug 21, 2017
    Will i be locked out of my servers if my ezeelogin hosted server goes down ?
    Viewed 1733 times since Mon, Aug 21, 2017