LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2009, 10:42 AM   #1
cn_chopsticks
LQ Newbie
 
Registered: May 2005
Location: Nanjing, China
Posts: 17

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying normal rcp (/usr/bin/rcp) Permission denied. Martin Peter Clarke Linux - Server 5 12-21-2010 10:42 AM
RCP How to?? sanigo Linux - Newbie 2 07-14-2009 12:33 AM
rcp problem ust Linux - Newbie 0 03-26-2009 09:17 PM
Problem in SecureFileCopy (SCP) and RCP oracle_on_linux Linux - General 2 06-04-2008 07:46 PM
problem with rcp and rsh ! iamthewind Linux - Software 1 11-21-2003 03:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration