title: How to auto add your ssh public key to the authorized_keys files?
body: <p>I am looking for the simplest set of commands you can run for adding your public key to the authorized_keys files of the root account on a remote server.</p>
  
  <p>We assume that the current user has login access to the remote server and it is also listed in the sudoers file.</p>
  
  <p>Running the command twice should have no effect.</p>