Bash script to disable root login
<p>I'm trying to automate as much as possible in the deployment of servers, the overall goal is to  login as a user, upload a bashscript and have it configure my server how I need it configured.</p>

<p>To start I'm trying to disable root login, I know I have to edit <code>/etc/ssh/sshd_config</code> to <code>PermitRootLogin no</code></p>

<p>I was wondering if there was a way to do this via a bash script?</p>