- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: remsh setup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:22 AM
05-28-2001 05:22 AM
I am trying to setup remsh on an R class machine so that I can remotely/securely log into it without the password prompt.
For some reason, it continues to ask me for a password when the /etc/hosts.equiv and also a .rhosts file exists in my home directory on the destination machine.
My questions are as follows:
1) what do the permissions need to be on the hosts.equiv and the .rhosts file (or does it not matter)?
2) do I need a fully qualified domain name entered to do this? ie rlogin prdbox.usa.com
3) I must be missing something, but where is that needle in this haystack?
Configuration information as follows:
Destination machine (R machine) includes:
/etc/hosts entry for this box ie
10.20.12.60 prdbox # New R machine
10.20.12.2 oldbox # Current D machine
my .rhosts file on the remote machine
nickd oldbox oldbox.usa.com
I am trying to remsh or rlogin from my oldbox to the prdbox as follows:
rlogin newbox
or
remsh newbox -l root uptime.
Could it be a domain issue as I have two machines in the US domain and my workstation in the Canada domain? (My workstation info I did not provide to keep things simple as possible)
Suggestion?
Thanks,
Nickd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:36 AM
05-28-2001 05:36 AM
SolutionImmediately, I see that you syntax for .rhosts is backwards; it should be:
newbox nickd
prdbox nickd
I would put the same entries on both boxes in nickd's homedirectory/.rhosts with permissions 600.
If you are using short fully qualified hostnames on one end and unqualified on the other I would make entries in /etc/hosts.equiv and .rhosts for both.
This should get you going, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:38 AM
05-28-2001 05:38 AM
Re: remsh setup
hostname username
So for your configuration to work, you should have "oldbox nickd" in /root/.rhosts (/etc/hosts.equiv isn't used for root).
man rhosts for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2001 05:44 AM
05-28-2001 05:44 AM
Re: remsh setup
I think this is obviously a case of not being able to see the tree for the forest.
It worked like a charm.
Thanks,
Nickd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2001 11:53 AM
05-29-2001 11:53 AM
Re: remsh setup
+ myloginname
You also have to make sure your password is synch'd accross any nodes you want to r(cmd) between. A quick test I like is "remsh remotenode date" , to see if r(cmds) are working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2001 12:30 AM
06-01-2001 12:30 AM
Re: remsh setup
http://www.securityportal.com/cover/coverstory20000814.html