September 11th, 2003, 04:31 PM
I am trying to copy some large files from a 2000 box running Cygwin to another NT box running Cygwin (and SSHD) using SCP. I am running SCP in a loop for pushing all the files.
The problem is, SOMETIMES, the SCP command stalls completely. I have to kill it to get the loop running again.
Any ideas, why it is happening? Please help.
September 15th, 2003, 08:31 PM
when transferring several files, I usually tar them into a single object with tar -zxvf ball.tar.gz file1 file2 file3.. and then just copy the single item over with scp and extract with tar -zxvf.
It might make things a bit simpler.
This is me: http://chris.uk.com
September 17th, 2003, 02:58 PM
I had to switch to sftp to do it successfully. I generated a batch file using perl and used this batch file to push files to the server using sftp. This works great.
I think, as cygwin runs on NT, the NT does not let the port 22 go really quick. So, when scp requests ssh connection for transferring the next file, sometimes it finds the port still tied up with previous transaction.. and hence stalls.
Am I thinking right?