recursive scp fails on ReliantUNIX 5.43 (using OpenSSH 3.4p1)
Barden, Tino
Tino.Barden at t-systems.com
Mon Jul 1 23:04:29 EST 2002
Hi,
I have tried to make a recursive scp from a ReliantUNIX machine to an other UNIX machine and got an infinite loop on the source machine.
A "normal" scp works well.
Also strange is, that the first two letters of the directory respectively file name are missing in the output below.
The destination machine produces a directory structure with growing subdirectory names.
Below you can see the output of the test scenario:
*************************************************************************************************************************************************************************************
XYZ $ ls -lR dir_ssh_test
Gesamt 8
drwxr-x--- 2 user1 users 96 Jul 1 08:51 dir_a
drwxr-x--- 2 user1 users 96 Jul 1 08:52 dir_b
-r--r----- 1 user1 users 2590 Jul 1 08:50 file_1
-rw-r----- 1 user1 users 400 Jul 1 08:50 file_2
dir_ssh_test/dir_a:
Gesamt 8
-r--r----- 1 user1 users 2590 Jul 1 08:51 file_1a
-rw-r----- 1 user1 users 400 Jul 1 08:51 file_2a
dir_ssh_test/dir_b:
Gesamt 8
-r--r----- 1 user1 users 2590 Jul 1 08:52 file_1b
-rw-r----- 1 user1 users 400 Jul 1 08:51 file_2b
XYZ $ scp dir_ssh_test/file_1 XYZ:/tmp
file_1 100% |*****************************| 2590 00:00
XYZ $ scp -r dir_ssh_test XYZ:/tmp
dir_ssh_test: Too many open files
dir_ssh_test: Too many open files
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
dir_ssh_test/r_b: No such file or directory
dir_ssh_test/r_a: No such file or directory
dir_ssh_test: Too many open files
dir_ssh_test: Too many open files
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
dir_ssh_test/r_b: No such file or directory
dir_ssh_test/r_a: No such file or directory
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
dir_ssh_test/r_b: No such file or directory
dir_ssh_test/r_a: No such file or directory
dir_ssh_test: Too many open files
dir_ssh_test: Too many open files
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
dir_ssh_test/r_b: No such file or directory
dir_ssh_test/r_a: No such file or directory
dir_ssh_test: Too many open files
dir_ssh_test: Too many open files
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
dir_ssh_test/r_b: No such file or directory
dir_ssh_test/r_a: No such file or directory
dir_ssh_test/le_1: No such file or directory
dir_ssh_test/le_2: No such file or directory
XYZ $ Killed
XYZ $ ls -lR /tmp/dir_ssh_test
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
/tmp/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test/dir_ssh_test:
Gesamt 0
drwxr-x--- 3 user1 users 96 Jul 1 09:01 dir_ssh_test
*************************************************************************************************************************************************************************************
Does anybody have a solution for this problem?
Regards,
Tino
More information about the openssh-unix-dev
mailing list