title: Use sudo with SSH-Session from PowerShell
body: <p>On my Windows computer I use <a href="http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library" rel="nofollow"><strong>SSH-Session</strong></a> module on PowerShell and I want to use <code>sudo</code> in order to execute special command in my server.</p>
  
  <p>But when I launch my <code>sudo</code> command through SSH-Session I have this error:</p>
  
  <blockquote>
    <p>sudo: no tty present and no askpass program specified</p>
  </blockquote>
  
  <p>I don't want to use PuTTY or the <code>ssh</code> command, so the parameter <code>-l</code> is not the issue!</p>
  
  <p>If it's possible I don't want to change the SSH server configuration.</p>
  
  <p><em>I want to know how to force the pseudo allocation tty in PowerShell?</em></p>
  
  <p>Thanks</p>