title: How svntask pass the user and password into svn when it's using ssh tunnelling?
body: <p>I'm using an SVN repo over SSH and I would like to use the svn command line tool with the svn+ssh schema from a generic account that people share to do builds of the same code.</p>
  
  <p>We use ant to build at present like so. You can see that it prompts for an user/password which has privileges into SVN</p>
  
  <pre><code>&lt;target name="update"&gt;
          &lt;input message="username:" addproperty="username" /&gt;
          &lt;input message="password:" addproperty="password" /&gt;
  
          &lt;svn username="${username}" password="${password}"&gt;
              &lt;update dir="${my.dir}"/&gt;
          &lt;/svn&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>When you try to use svn {command} svn+ssh/repo on the command line (on Solaris), ssh defaults to using the current user. The current user is a generic account which has no privleges into the SVN repo.</p>
  
  <p>I want svn to prompt me for the user and password.</p>
  
  <p>I know I can pass in my username to svn like so</p>
  
  <p>svn info svn+ssh://me@svn-server/apps/app</p>
  
  <p>but that's no good if I want to put it in a script to be used by anyone using the build server's generic account</p>
  
  <p>What I want is to be prompted but the command line, just like the ant task does.</p>
  
  <p>Is there a way to achieve this?</p>
  
  <p>I've tried moving all the entries in the .subversion/auth dir out of the way and uncommenting store-passwords = no and store-auth-creds = no in the .subversion/config file </p>
  
  <p>If not, how is ant doing it?</p>
  
  <p>Thanks</p>