title: Can't rsync into subfolder, or even ssh at this point
body: <p>I need to rsync log files like this:</p>
  
  <pre><code> rsync --progress -rvze ssh name@host:/path/to/folder/*.log
  </code></pre>
  
  <p>When I run this command though, I get an error:</p>
  
  <pre><code>rsync: getcwd(): No such file or directory (2)
  </code></pre>
  
  <p>No such file or directory? That's odd. So I try to ssh directly:</p>
  
  <pre><code>ssh name@host
  </code></pre>
  
  <p>it prompts to enter my name, I do, then I type</p>
  
  <pre><code>cd /path/to/folder
  </code></pre>
  
  <p>which works fine (log files are present). </p>
  
  <p>I double checked my ssh keys, everything seems to be in order there, but for some reason I can't ssh into a subfolder on this host, so there's no way I can get rsync working correctly.</p>
  
  <p>EDIT:</p>
  
  <p>Running the identical rsync command on my Mac, it works fine. Running it in my ubuntu EC2 instance is still failing.</p>