title: How to use SSH and SUDO together with TRAMP in Emacs
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2177687/open-file-via-ssh-and-sudo-with-emacs">Open file via SSH and Sudo with Emacs</a>  </p>
  </blockquote>
  
  
  
  <p>I want to open a file using sudo (say, /etc/hosts) on a remote machine connected by ssh using TRAMP on Emacs.</p>
  
  <p>I tried couple of options, but none of them worked. Can anybody tell me how to go about it?</p>
  
  <p>Thank you</p>