LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2003, 10:35 AM   #1
jdara1
LQ Newbie
 
Registered: May 2003
Posts: 9

Rep: Reputation: 0
how to make and rsh to work in linux


Currently we have got 20 linux intel boxes.

[u01pmcc1@u060mcc1 u01pmcc1]$ uname -a
Linux u060mcc1 2.4.18-18.7.xsmp #1 SMP Wed Nov 13 19:01:42 EST 2002 i686 unknown

I need help in setting up rsh and rcp on these boxes.
I tried like this.

The sell for the logins is /bin/bash

I created .rhosts file in the home directories.

On one linux server(u060mcc1) I have the follwoing .rhosts file
-rw------- 1 u01pmcc1 db2adm 36 May 30 10:26 .rhosts

cat .rhosts

u060ms18 u01pms18
u060mcc1 u01pmcc1

On the second linux server(u060ms18) I have the following.
-rw------- 1 u01pms18 db2adm 36 May 30 10:27 .rhosts

cat .rhosts

u060mcc1 u01pmcc1
u060ms18 u01pms18

But when I issue any rcp command I get the following

[u01pms18@u060ms18 u01pms18]$ rcp text u060mcc1:/home/u01pmcc1
Permission denied.

Can someone tell me, what else we need to accomplish both rcp and rsh on linux boxes.

Thanks
Jagadish
 
Old 05-30-2003, 11:17 AM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
rsh is very insecure, you might consider using ssh (secure shell) as a remote login method
 
Old 05-30-2003, 02:01 PM   #3
jdara1
LQ Newbie
 
Registered: May 2003
Posts: 9

Original Poster
Rep: Reputation: 0
It's fine with me. But I would like to know what is that we need to setup inorder to make ssh to work.
I mean, I want to make both rcp , rsh/ssh to work.
 
Old 05-30-2003, 02:04 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just install the ssh server and ssh client on the machines they are needed on. That should just about to it. If you want to have passwordless logins then I can give you info on that too.
 
Old 06-02-2003, 02:33 PM   #5
jdara1
LQ Newbie
 
Registered: May 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thaks for the info, I forwared this info to our linux system adminstrator. After he installs, I will test and let you know the progress.

Jagadis Dara
DBA Cincinnati
 
Old 06-24-2003, 02:58 PM   #6
alfy
LQ Newbie
 
Registered: Jan 2003
Location: michigan, usa
Distribution: redhat
Posts: 7

Rep: Reputation: 0
I am running software (not by choice) that requires rsh with root across my LAN.

It is on an issolated section of the LAN so it isn't TOTALLY open.

Tried computer name in /root/.rhost and have 400 permissions on the file.
running redhat 7.3

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RSH: remuser too long error when rsh is executed from IIS dev33445 Programming 0 08-29-2005 10:34 AM
RSH wont work... hardian_97 Linux - Networking 2 08-16-2005 10:49 AM
Can't get rlogin, rsh to work in FC3 dangs Linux - Security 1 01-11-2005 12:45 PM
getting rsh to work acroos a beowulf network karma7 Linux - Newbie 0 04-01-2004 09:58 AM
How to make AGSatellite work in Linux J_Szucs Linux - Newbie 3 12-12-2001 07:10 AM


All times are GMT -5. The time now is 08:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration