Problem when using rcp in sles10sp1
Hi everyone, i had a problem with the command 'rcp' and i couldn't find the answer, here is the problem:
There are two servers in the network, both of them were installed with sles10sp1, the IP list as following:
10.168.27.76(hostname is linux76)
10.168.27.254(hostname is linux77)
Both of them can rlogin each other with the username 'smscp', and the shell is csh, the home dir is /eia/smscp, for example, when i login to 10.168.27.76(linux76), i can execute the following commands:
rlogin 10.168.27.254
or
rlogin linux77
after that, i could actually login to 10.168.27.254(linux77)
when i login on to 10.168.27.254(linux77), i can execute the following commands:
rlogin 10.168.27.76
or
rlogin linux76
after that, i could actually login to 10.168.27.76(linux77)
But, when i execute the following command in 10.168.27.254(linux77), the problem occurred:
rcp -rp smscp@10.168.27.76:/eia/smscp/test /eia/smscp/
after i entered the command, here is the output:
####################################
and the file did not transferred from 10.168.27.76 to 10.168.27.254
when i execute the following command in 10.168.27.76(linux76), everything is ok:
rcp -rp smscp@10.168.27.254:/eia/smscp/test /eia/smscp/
no "#" occurred, no output, and the file test acctually transferred from 10.168.27.254 to 10.168.27.76
i guess it was the problem with rcp, but i did not know the reason, could any one can figure out why? Thanks a lot.
|