0
1
If I ssh
from Cygwin into another machine that is on a different network, how do I conduct a recursive copy to my machine?
0
1
If I ssh
from Cygwin into another machine that is on a different network, how do I conduct a recursive copy to my machine?
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.
Let's say remote is Username@Remotehost.com and I don't know what local is (a windows machine). How do I find out what local is? Thanks. By the way, I am doing this on local on Cygwin. – Frequency – 2016-08-07T13:04:04.783
Are you asking how to find a cygwin path for a given Windows path? Use cygpath
. – Martin Prikryl – 2016-08-07T13:22:13.977
What type of logic are you currently using for this task or what did you have in mind to complete this task otherwise. – Pimp Juice IT – 2016-08-07T01:52:45.573