LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Install package for rcp (https://www.linuxquestions.org/questions/linux-newbie-8/install-package-for-rcp-852965/)

elainelaw 12-29-2010 12:53 AM

Install package for rcp
 
I use RHEL 3 , but do not have installed the package for rcp , so now can not receive file via rcp , can advise what package that I need to install for using rcp ? Thanks.

kirukan 12-29-2010 01:04 AM

RCP is not a secure or encrypted method of transferring files, use "scp" for secure transferring

elainelaw 12-29-2010 01:06 AM

Quote:

Originally Posted by kirukan (Post 4206244)
RCP is not a secure or encrypted method of transferring files, use "scp" for secure transferring

Thx suggestion , we use for internal server only , the security is not important in my case , and if use scp , we need to do some changes .

kirukan 12-29-2010 01:17 AM

If you have ssh capabilities among your severs, i think you can scp too..

knudfl 12-29-2010 01:30 AM

/usr/bin/rcp is provided by the package "rsh".

http://mirror.centos.org/centos/3.9/...6/RedHat/RPMS/
> rsh-0.17-18.el3.i386.rpm

..

elainelaw 12-29-2010 01:32 AM

Quote:

Originally Posted by knudfl (Post 4206261)
/usr/bin/rcp is provided by the package "rsh".

http://mirror.centos.org/centos/3.9/...6/RedHat/RPMS/
> rsh-0.17-18.el3.i386.rpm

..

I can run rcp , but can not receive file from rcp , do i need to install rsh-server ?

knudfl 12-29-2010 01:35 AM

rsh-server-0.17-18.el3.i386.rpm

I have no idea, may be install it, and try.

..

elainelaw 12-29-2010 02:35 AM

Quote:

Originally Posted by knudfl (Post 4206265)
rsh-server-0.17-18.el3.i386.rpm

I have no idea, may be install it, and try.

..

I just installed it and started it , but still not work , is there other package that need to be install ? please advise

elainelaw 12-29-2010 02:45 AM

The error message is

Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
Permission denied.

EricTRA 12-29-2010 02:45 AM

Hi,

Did you setup hosts.allow, hosts.deny correctly? Try rsh to localhost to see if you get a reply.

Kind regards,

Eric

elainelaw 12-29-2010 02:58 AM

Quote:

Originally Posted by EricTRA (Post 4206300)
Hi,

Did you setup hosts.allow, hosts.deny correctly? Try rsh to localhost to see if you get a reply.

Kind regards,

Eric

Thanks , it works.

EricTRA 12-29-2010 04:32 AM

Hi,

Glad you got it working! If you consider your problem/question solved then please mark it as such using the Thread Tools.

Kind regards,

Eric


All times are GMT -5. The time now is 08:21 PM.