title: hg clone through a login server using ssh
body: <p>I'm trying to collaborate with some individuals that are not in my institution and are not allowed to connect to the internal network through VPN, however, ssh through a login server is allowed.  </p>
  
  <p>I.e. the collaborates can login using two successive ssh commands:</p>
  
  <pre><code>$ ssh loginserver
  $ ssh repositoryserver
  </code></pre>
  
  <p>After logging in they can begin developing on the repository server.  However, they would like to make a clone, and make modifications remotely, and then push changes back.  </p>
  
  <p>I know one can run mercerial commands through ssh, and this works fine for me (because I am on the network).  I.e.:</p>
  
  <pre><code>$ hg clone ssh://uid@repositoryserver//path/to/repo
  </code></pre>
  
  <p>However, is there a way to run commands through the login server? </p>
  
  <p>Something like:</p>
  
  <pre><code>$ hg clone ssh://uid@loginserver ssh://uid@repositoryserver//path/to/repo
  </code></pre>
  
  <p>Thanks for the help.  </p>