Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help: RCP issue between solaris and redhat linux

Reply
Thread Tools Display Modes

Help: RCP issue between solaris and redhat linux

 
 
steeles
Guest
Posts: n/a

 
      09-15-2006, 07:38 PM
Was trying to do a rcp between redhat and solaris 10, but get stuck
somewhere.

hosts are in the .rhosts in both linux and solaris $HOME, there is no
trouble between Solaris.

Linux - > Solaris permission denyied.
Solaris ->Linux, it wait for a long time, then error connection timed out.

1. what is wrong?
2. what port is rcp using, if I need to cross over firewall ?

Thanks a million.


 
Reply With Quote
 
 
 
 
Andrew Gabriel
Guest
Posts: n/a

 
      09-15-2006, 08:07 PM
In article <NgDOg.2$(E-Mail Removed)>,
"steeles" <(E-Mail Removed)> writes:
> 2. what port is rcp using, if I need to cross over firewall ?


rcp runs over the rsh protocol, on tcp port 514.
Unlike rsh usage to run remote commands which uses a second tcp
connection for stderr, rcp runs with stdout and stderr both passed
back on the single TCP connection.

For the Linux -> Solaris case, rlogin and issue the command
who am i
Note the exact format of the remote hostname, and use this in
your .rhosts file. If you get this right, rlogin won't prompt
for a password either.

--
Andrew Gabriel
 
Reply With Quote
 
Chris Cox
Guest
Posts: n/a

 
      09-15-2006, 08:26 PM
steeles wrote:
> Was trying to do a rcp between redhat and solaris 10, but get stuck
> somewhere.


.... and created a huge cross posting here there and everywhere!!

>
> hosts are in the .rhosts in both linux and solaris $HOME, there is no
> trouble between Solaris.


Check your RH /etc/pam.d/rsh and rlogin
and try allowing promiscuous entries....

auth required /lib/security/pam_rhosts_auth.so promiscuous

Something to try...

Can you share your .rhosts?

>
> Linux - > Solaris permission denyied.
> Solaris ->Linux, it wait for a long time, then error connection timed out.
>
> 1. what is wrong?


Not enough info to really tell... I just took a wild guess...

> 2. what port is rcp using, if I need to cross over firewall ?


A firewall could certainly cause some issues...
 
Reply With Quote
 
Allen McIntosh
Guest
Posts: n/a

 
      09-16-2006, 01:55 AM

> hosts are in the .rhosts in both linux and solaris $HOME, there is no
> trouble between Solaris.
>
> Linux - > Solaris permission denyied.
> Solaris ->Linux, it wait for a long time, then error connection timed out.
>
> 1. what is wrong?


In addition to what others have said, Linux typically comes with rcp
disabled. (You're really better off using ssh/scp.) If you really want
to enable rcp, you need to modify the appropriate file in /etc/xinetd.d.
(I don't have it turned on or installed, so I can't check the file name
for you. Maybe someone else knows.) Set disable=no and force xinetd to
reload.
 
Reply With Quote
 
Logan Shaw
Guest
Posts: n/a

 
      09-16-2006, 05:14 AM
steeles wrote:
> Was trying to do a rcp between redhat and solaris 10, but get stuck
> somewhere.
>
> hosts are in the .rhosts in both linux and solaris $HOME, there is no
> trouble between Solaris.
>
> Linux - > Solaris permission denyied.
> Solaris ->Linux, it wait for a long time, then error connection timed out.


That's a little bit ambiguous. Is this "Linux -> Solaris"?

linux$ rcp solaris:/tmp/foo /tmp

Or is this "Linux -> Solaris" instead?

solaris$ rcp /tmp/foo linux:/tmp

Both of those would normally copy a file from Linux to Solaris.

Or maybe "Linux -> Solaris" means a third thing, which is that
the Linux machine is initiating the connection, in which case
both of these are "Linux -> Solaris":

linux$ rcp solaris:/tmp/foo /tmp
linux$ rcp /tmp/foo solaris:/tmp

:-)

- Logan
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat Linux 8 and Redhat Enterprise Linux 4 printer not configure Niraj Linux Networking 0 12-06-2006 04:51 AM
Do I need to use Different Serial cable ( RS232 ) for ( Linux to Solaris ) and ( Linux to Windows ) nurxb01@gmail.com Linux Networking 5 04-20-2006 12:37 AM
1. Redhat linux 7.2 issue 2. Redhat enterprise linux issue Moo Linux Networking 0 08-26-2004 10:02 AM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] -new ! TEL Linux Networking 0 12-01-2003 12:06 PM
Red Hot Linux v9.0 [2 DVDs]. Red Hot Linux v9.0 [3 CDs]. Redhat Enterprise Linux ES v3.0 REPACK [4 CDs]. Mandrake Linux 9.2 [3 CDs] - new ! TEL Linux Networking 0 11-29-2003 11:27 AM



1 2 3 4 5 6 7 8 9 10 11