title: downloading folder from ssh to local machine
body: <p>I have a specific problem.</p>
  
  <p>I have a server(say x) , first I have to connect to the x server using ssh x@domain. Then there is an internal server y again I have to connect to that specific domain using ssh. I have to download a folder in server y. I tried using scp after logging into x, using </p>
  
  <p><strong>scp -r /data/home/path          /Users/username/Desktop</strong></p>
  
  <p>I got the following error</p>
  
  <p>cp: cannot create regular file `/Users/username/Desktop': No such file or directory</p>
  
  <p>please help me in downloading the folder</p>