title: passwordless ssh to remote system as root
body: <p>I need to ssh (as root) to a remote server and perform some root level operations. I will be sshing from a local server where I don't have root privileges. Given this option, is it possible to perform passwordless ssh to remote system using (rsa) keys ?</p>
  
  <p>Local and remote servers run linux.</p>
  
  <p>BTW, I generated keys (ssh-keygen -t rsa) on the local server. Copied the public key to remote server's .ssh/authorized_keys file. <strong>However it still keeps prompting for password.</strong> The same setup works fine, if the local and remote username (non-root) matches.</p>