- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- not able to do rcp .rhosts and /etc/hosts.equiv ar...
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
11-01-2004 03:35 AM
11-01-2004 03:35 AM
not able to do rcp .rhosts and /etc/hosts.equiv are properly configured
i had got 3 hpux servers
server a
server b
server c
back up of user "user1" in server b (server b:/home/user1/file1 ) and "user1" in server c (server c:/home/user1/file2) are supposed to be copied in "user2" home directory of server a (server a:/home/user2).
In "server a"
/etc/hosts.equiv has entry like
+
server b user1
server c user1
(#actually there is no space in between server a ,b and c just for writing convenience i wrote here)
also in server a:/home/user2/.rhosts
+
server b user1
server c user1
i am able to do rcp from server b. like this it works
server b:> rcp file1 user2@server a:/home/user2
but the same is not working from server c
both the server b and c is logged in with the same user name user1.
it gives the error remshd:login incorrect.
but if i put + + in /etc/hosts.equiv of server a, it works.
but it doesn't work directly.. any help please..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 03:52 AM
11-01-2004 03:52 AM
Re: not able to do rcp .rhosts and /etc/hosts.equiv are properly configured
It depends on how 'hosta' sees your 'hostc'. With simply + it expects that connection from 'anyhost' with 'user2' will be honored without a password. With ++, 'anyhost' with 'anyuser' will be accepted without a password. Hence it worked.
You have specified 'serverc user1'. Make sure serverc is seen as 'serverc' on servera. To verify it enable inetd logging and observe the connections on serverA.
#inetd -l
#tail -f /var/adm/syslog/syslog.log
From serverc to a simple telnet (telnet servera) and see how it appears in syslog.log. Most likely you may have to modify your /etc/hosts on serverA to include correct hostname of serverc.
It is much easier and safer to use public/private authentication with ssh.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 11:27 AM
11-05-2004 11:27 AM
Re: not able to do rcp .rhosts and /etc/hosts.equiv are properly configured
1) telnet to as user1 from serverc to servera
2) run a "who -R" and insure the address that who returns is what is listed in your hosts.equiv.
Good luck....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2004 06:47 PM
11-05-2004 06:47 PM
Re: not able to do rcp .rhosts and /etc/hosts.equiv are properly configured
can you post the /etc/hosts file.
see the following link
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=191874
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2004 02:17 PM
11-13-2004 02:17 PM
Re: not able to do rcp .rhosts and /etc/hosts.equiv are properly configured
the problem is sorted out. becoz of login problems i could not reply.
problem was becoz of the hostname resolution. which was found by telnet to the main server and got the hostname from syslog.
and put the same in host.equiv it started working.
regards,
sivakumar