title: WinSCP login issue with sudo
body: <p>I am trying to login using WinSCP using correct username and password.</p>
  <p>Under <em>Environment&gt; SFTP &gt; SFTP Server</em> I have specified <code>sudo /usr/lib/openssh/sftp-server</code></p>
  <p>Under <em>Session</em> I type in the <em>Host name</em>, <em>User name</em> and <em>Password</em>.</p>
  <p>When I click on Login I get</p>
  <blockquote>
  <p>Connection has been unexpectedly closed. Server sent command  exit status 1.</p>
  <p>Cannot initialize SFTP protocol. Is the host running a SFTP server?</p>
  <p>sudo: no tty present and no askpass program specified</p>
  </blockquote>
  <p>This is link to a complete log <a href="http://pastebin.com/GcmpK2kj" rel="nofollow noreferrer">http://pastebin.com/GcmpK2kj</a></p>