0

If I ssh from Cygwin into another machine that is on a different network, how do I conduct a recursive copy to my machine?

Martin Prikryl
  • 21,071
  • 9
  • 77
  • 157
Frequency
  • 3
  • 1

1 Answers1

0

Use sftp (or scp), not ssh to download files.

Withing sftp, use get -r /remote/path /local/path command.

If your question was how to initiate a transfer from an SSH terminal connected to a remote machine back to the local machine, you cannot. Of course unless you have an SSH server running on the local machine.
See also How to SCP from linux server to Windows client.

Martin Prikryl
  • 21,071
  • 9
  • 77
  • 157