24
8
I'm SSHing into a Linux machine using PuTTY and trying to copy a file down somewhere (anywhere) to my local machine. I figure SCP is the best candidate for the job but don't really care, so long as the solution works!
I cd
to the directory containing the file I want (app.war
) and type the following:
scp app.war ./
I've tried both to no avail:
scp app.war ./C:/Users/myUser/
scp app.war ./Users/myUser/
It got me thinking that perhaps SCP is a client/server tool and requires a client on my Windows machine, which isn't there.
Am I just using the wrong syntax? Or am I way off-base? If so, what options do I have? Thanks in advance!
The real answer to this question is here : http://stackoverflow.com/a/23412501/1579667 . Syntax is
– Benj – 2015-07-02T08:12:42.623scp some_file user@host:/c/temp
Also see Bitvise SSH client and server. It is one of the oldest SSH software for Windows. The client is a free download and free to use.
– jww – 2019-09-10T00:24:02.990