Originally Posted by Bth8
I have two computers. One is running Debian Lenny, the other is running Windows XP Home Edition with Cygwin installed. I was wondering if there was any way i could scp files from Debian to windows without installing anything new (or possibly just getting a new Cygwin package) any help would be appreciated.
Its been a long time since I did this, but my understanding is that scp is a part of the ssh Cygwin package (or is is called openSSH?). Look for Secure Shell or openSSH or something like that. You will of course need to set up SSH there, and there are plenty of guides on the net for SSH setup.
One thing to watch out for is to insure that Cygwin's value that it sets up in its Bash shell matches the HOME directory in the Control Panel. If the HOME directory in the Control Panel disagrees with the HOME directory that Cygwin sets up in its Bash terminal sessions, then when you populate the ~/.ssh/ directory with your new id files, you will be puzzled as to why it disallows connections otherwise. The reason is that Cygwin's ssh daemon is looking in a different directory than the Windows HOME directory. IIRC, I changed my home directory in both places to a directory at C:/<user_name>. Take a look at the value being setup by your .bashrc/.bash_profile/.profile fileset.
The other thing is the user name on the originating system (Linux) and the destination system (Windows) can be different. That may or may not matter for Cygwin, I just don't recall, but when you first start out, you may want to explicitly spell out the destination user name, and then once that is working, drop it from the command and see if it still works. I ended up making my Windows user account name be the same as my Linux account name (maybe it was due to a Samba setup that seemed to require they be equal).