Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am Puttying into a linux machine 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!

share|improve this question

2 Answers 2

up vote 6 down vote accepted

in order for you to copy files back to your Windows you need SSH daemon/service to be running on your Windows, it's much easier to use this tool instead, it has an ability to import sessions from Putty, very plain forward client you'll love it!

WinSCP :: Free SFTP and FTP client for Windows

share|improve this answer
    
Just an awesome tool :). Loved it \m/ –  Chaitanya Oct 3 '13 at 6:56

You are correct. SSHD is the SSH server services that runs on the host. It accepts connections from SSH clients (like PuTTy), SCP clients, and SFTP clients.

You can download pscp from the same website where PuTTY is hosted.

From the windows machine, you would execute a command similar to

pscp.exe someuser@somehost.com:/path/to/app.war c:\tmp

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.