<!DOCTYPE html> <html> <head> </head> <body> <p>Enabling the root account to access ssh directly is a major security risk. However, you can enable it if you like to do so by doing the steps below:</p> <ol> <li> <p>Edit the sshd_config file by <code>sudo vi /etc/ssh/sshd_config</code></p> </li> <li> <p>Find the line <code>PermitRootLogin no</code> and change it to <code>PermitRootLogin yes</code>.</p> </li> <li> <p>Restart the ssh service by <code>sudo /etc/init.d/ssh restart</code> or <code>sudo service ssh restart</code></p> </li> </ol> <p>You have now enabled ssh using the root account.</p> </body> </html>
Subscribe
0 Comments
Oldest