The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
SSH problems ysk UNIX for Advanced & Expert Users 1 07-19-2007 05:16 AM
Problems AIX and SAN. fjgonzalez AIX 4 07-18-2007 05:15 PM
Problems with Last By_Jam UNIX for Advanced & Expert Users 3 09-29-2006 03:12 AM
Few problems vivekshankar UNIX for Dummies Questions & Answers 3 05-21-2005 12:26 PM
'make' problems (compliation problems?) xyyz UNIX for Advanced & Expert Users 5 11-05-2001 10:47 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-19-2008
m223464 m223464 is offline
Registered User
  
 

Join Date: Mar 2005
Posts: 41
Problems using rsh

Hi,

I have a server which I've configured to allow an rsh trust from a csm server. However, of the 3 vlans on the target server, I can only rsh to one of them without being prompted for the password.

On lpar1
$ ifconfig -a
en2: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD( ACTIVE),CHAIN>
inet 10.162.73.138 netmask 0xffffff80 broadcast 10.162.73.255
tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
en3: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(A CTIVE),PSEG,LARGESEND,CHAIN>
inet 10.162.70.71 netmask 0xffffffc0 broadcast 10.162.70.127
en5: flags=1e080863,80<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(A CTIVE),CHAIN>
inet 10.162.73.11 netmask 0xffffff80 broadcast 10.162.73.127
tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1

On csm server
csms01:/ $ rsh 10.162.70.71
root's Password:

csms01:/ $ rsh 10.162.73.11
root's Password:

csms01:/ $ rsh 10.162.73.138
Last login: Wed Mar 19 12:51:07 GMT 2008 on /dev/pts/0 from csms01-tsm
root@lpar1:/ $

Can anyone suggest why this only works to 1 of the vlans? I have several other servers with a similar ip configuration and I can rsh too all the vlans without any problems.

Thanks

Gareth
  #2 (permalink)  
Old 03-30-2008
Cesar Delgado Cesar Delgado is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 13
Hi

R-commands use some kind of trusted relationship by editing the .rhosts or the /etc/hosts.equiv file.

Run commands sequentially across a cluster from a UNIX server, Part 2: Remote shell (rsh)

So if you don't configure each file, let's say the .rhosts file, on each machine you won't be able to do what you want.

My recommendation is to drop the use of r-commands and use OpenSSH instead. R-commands send info across the network in plain text and their use is known as security pitfall. You can configure OpenSSH in such a way no password prompt is used by exchanging encrypted keys between hosts.

Hope this helps
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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



All times are GMT -4. The time now is 12:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0