title: How to SSH from local linux into specific directory on windows 10 remote
body: <p>I want to ssh from my local linux computer into a specific directory on a windows 10 remote. The shell that is used on the remote is git bash. I don't want to keep changing the directory every time I log into my remote using ssh.</p>
  <p>for linux remotes this is easily done using something like this:</p>
  <pre><code>ssh -t user@x.x.x.x &quot;cd /targetDir ; \$SHELL --login&quot;
  </code></pre>
  <p><strong>The question is how can the same thing be achieved for Windows 10 remotes?</strong> If nothing else works I would also accept changing the default entry point in git bash for any ssh sessions on the remote.</p>
  <p>Please note that I am not looking for help setting up ssh (already works). I just want to jump right into a specific directory when a session is started.</p>