LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2010, 12:53 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
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.
 
Old 12-29-2010, 01:04 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
RCP is not a secure or encrypted method of transferring files, use "scp" for secure transferring
 
Old 12-29-2010, 01:06 AM   #3
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by kirukan View Post
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 .
 
Old 12-29-2010, 01:17 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
If you have ssh capabilities among your severs, i think you can scp too..
 
Old 12-29-2010, 01:30 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
/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

..
 
Old 12-29-2010, 01:32 AM   #6
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by knudfl View Post
/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 ?
 
Old 12-29-2010, 01:35 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
rsh-server-0.17-18.el3.i386.rpm

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

..
 
Old 12-29-2010, 02:35 AM   #8
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by knudfl View Post
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
 
Old 12-29-2010, 02:45 AM   #9
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
The error message is

Trying krb4 rcp...
trying normal rcp (/usr/bin/rcp)
Permission denied.
 
Old 12-29-2010, 02:45 AM   #10
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

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

Kind regards,

Eric
 
1 members found this post helpful.
Old 12-29-2010, 02:58 AM   #11
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
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.
 
Old 12-29-2010, 04:32 AM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
  


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 Off
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
Which package to install as development package? cpthk Programming 6 08-26-2009 08:03 PM
Trying to use rcp krysak Linux - Newbie 7 04-21-2009 04:56 PM
why does slackware install rcp, telnet...? rgiggs Slackware 3 08-29-2004 05:04 AM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 PM.

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