A way to Access local files via scp and putty?

I have a windows XP machine and I want to take files from my local drive and copy them to a linux server via ssh. Is there a way to do this?
Who is Participating?
jkrConnect With a Mentor Commented:
As you wrote in th subject line - that works with PuTTY and it's SCP companion 'pscp.exe' (http://the.earth.li/~sgtatham/putty/latest/x86/pscp.exe) from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html


pscp c:\path\*.doc JoeUser@LinuxBox:/home/JoeUser/docs
giltjrConnect With a Mentor Commented:
If the Linux server is setup for either SCP or SFTP you can use either one of those, but you need to get a SCP/SFTP client.

Although "putty" can't do this, typically when you download putty you do get a scp client (pscp.exe) and a sftp client (psftp.exe).
numb3rs1xAuthor Commented:
But doesn't there have to be ssh service on the local machine somehow to be able to listen on that port for that protocol? Does putty and/or pscp make that service available on the local windows machine?
giltjrConnect With a Mentor Commented:
That depends.  If you are issuing the pscp command from Windows, the Linux box is the server and it must have sshd up and running.

Now, if you want to issue the scp command from the Linux server, then your Windows box is the server and you do need a sshd server on Windows.  Which Putty does NOT provide a ssh server.

So, which is the server and which is the client?

No, you need a ssh daemon (sshd) running on the Linux box. See http://www.openbsd.org/cgi-bin/man.cgi?query=sshd and http://www.tc.umn.edu/~hick0088/files/openssh-howto.html
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.