- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trust relationship between two host
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
01-28-2003 07:08 PM
01-28-2003 07:08 PM
Trust relationship between two host
hostA:
hostname: A ip: 1.1.1.1
hostA heart:
name: Ah ip: 10.1.1.1
hostB:
hostname: B ip: 1.1.1.2
hostB_heart:
name: Bh ip: 10.1.1.2
When I write entrys in .rhosts.The result is that I can rlogin A from B,but can't rlogin B from A.I ping from A to B,and from B to A use hostname.It's verything is Ok.
I tried to use heartbeat name(Ah&&Bh),the trust relationship is work well.
why?please help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 07:14 PM
01-28-2003 07:14 PM
Re: Trust relationship between two host
Also check the /var/adm/inetd.sec file for any allow or deny.
And use /etc/hosts.equiv file instead of .rhosts for MCSG.
Also you should put the name of server what you get from nslookup in .rhosts.
Like do nslookup 1.1.1.1 and nslookup 1.1.1.2, what even names it returns put them in .rhosts.
It should work.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 07:20 PM
01-28-2003 07:20 PM
Re: Trust relationship between two host
do
who -u
Does it show the same hostname/ip you have put in B's .rhosts file?
Post the results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 07:49 PM
01-28-2003 07:49 PM
Re: Trust relationship between two host
I used hosts file to resolve the hostname.I can ping A from B,and ping B from A by hostname.
And all ip are allow in inetd.sec file whethter telnet or ftp.
I tried to use ip instead of hostname in .rhosts,then everything is ok.
It's not first time I meet this question.
I want to know why.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 08:04 PM
01-28-2003 08:04 PM
Re: Trust relationship between two host
Dont use IP address in .rhosts it wont work.
Its very simple as i said before do a nslookup on the IP address and what host name it returns thats what you have to put in .rhosts
say on host B if nslookup 1.1.1.1 returns "abc"
put exactly the same in .rhosts
trust me it will work.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 08:21 PM
01-28-2003 08:21 PM
Re: Trust relationship between two host
Stop using rhosts and Berkely protocols.
download and install ssh scp sftp in the secure shell package.
Post a request and I'll give you a roadmap on how to exchange public keys and get away from the Berkely unsecure protocols.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2003 09:46 PM
01-28-2003 09:46 PM
Re: Trust relationship between two host
Steven,please tell me how to resolve this problem by SSH.Thank you.