• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1938
  • Last Modified:

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?
0
numb3rs1x
Asked:
numb3rs1x
  • 2
  • 2
3 Solutions
 
giltjrCommented:
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).
0
 
jkrCommented:
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

E.g.

pscp c:\path\*.doc JoeUser@LinuxBox:/home/JoeUser/docs
0
 
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?
0
 
giltjrCommented:
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?

0
 
jkrCommented:
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
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now