title: How to run remote ssh session from Jenkins with sudo rights?
body: <p>Using 'Execute shell script on remote host using ssh' option and need sudo rights on remote server to change permissions and remove protected files.
  How to run session with this rights? </p>
  
  <p>Getting message </p>
  
  <blockquote>
    <p>sudo: sorry, you must have a tty to run sudo</p>
  </blockquote>
  
  <p>when trying to run sudo command.</p>