- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh is not working properly ( Its working one wa...
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-10-2008 11:32 AM
01-10-2008 11:32 AM
remsh is not working properly ( Its working one way)
From Server A I cant remsh into Server B, while it is possible from Server B to Server A.
Sametime from Server A I can remsh into Server C and vice versa.
I checked following
1) hosts.equiv does not exist any of the server
2) hosts file entry is proper in all the server
3) I had checked all the forums related to the same in itrc and tried my best but no RESULT.
So can anyone help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 11:41 AM
01-10-2008 11:41 AM
Re: remsh is not working properly ( Its working one way)
Look on all servers in your home directory for a .rhosts file.
Do a 'man rhosts' for more information on the file and how to set it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 11:46 AM
01-10-2008 11:46 AM
Re: remsh is not working properly ( Its working one way)
I am using the .rhosts file. There is a file exist on the home directory on each server. I checked it and verified.
Then Man .rhosts......... :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 11:53 AM
01-10-2008 11:53 AM
Re: remsh is not working properly ( Its working one way)
Does serverB have remshd configured ?
remsh is completely dependant on the config of the destination.
If A to B does not work then the issue is on B.
Many things need to happen on B.
1) remsh needs to be configured in inetd.conf
2) if inetd.sec is being used then remsh needs to be allowed from A and others.
3) .rhost file on B must be configured properly. If using hostnames then /etc/hosts must be configured correctly for ServerA.
4) If there is a firewall between serverA and serverB then the firewall needs to be configured correctly.
Many of these possible issues can be elimited if you post the error instead of it don't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 12:16 PM
01-10-2008 12:16 PM
Re: remsh is not working properly ( Its working one way)
I am not getting any error mesaage. its asking for the password. Ideally it should not ask for it as both servers have the same password for this particular user.
1) remsh is configured in inetd.conf. Adding to this point From Server B I can remsh into some other servers.
2) inetd.sec is not used any of the servers.
3) .rhost file is configured properly. even i tried copy the file for another user( which is working for another server) and edited. still no luck
4) Firewall is OK
Thanks for the detailed suggestion. please advise me further
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 12:18 PM
01-10-2008 12:18 PM
Re: remsh is not working properly ( Its working one way)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 12:32 PM
01-10-2008 12:32 PM
Re: remsh is not working properly ( Its working one way)
This is the permission on all servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 12:40 PM
01-10-2008 12:40 PM
Re: remsh is not working properly ( Its working one way)
Try a telnet from A to B. Then while logged into B do a "who -R" and look to see how B is resolving your session from A. If it comes back with an IP and you have a hostname in B's .rhosts file then you need to fix the /etc/hosts entry for A.
Also an nslookup from B for A will help to see if there is a mis-match. The lookup and the .rhosts file need to be the same. Try a + sign in the .rhosts file just to test.
I typically see this issue with multi-homed host where the connection intiates on lan1 from A to B but resolves on B to lan2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 02:19 PM
01-10-2008 02:19 PM
Re: remsh is not working properly ( Its working one way)
Bad permissions. .rhosts *must* be 600 or 400. You do not want anyone looking at the contents of these files. The fact that some systems work and others do not (with the same permissions) is likely due to OS version and patch differences.
The other issue is name resolution. /etc/hosts is only meaningful when your nsswitch.conf file points to it first (which is not the default). Change .rhosts to use the IP address as well as the simple and fully-qualified name:
$ cat .rhosts
12.34.56.78 billh
mycpu billh
mycpu.domain.com billh
One of these will work depending on how hostnam resolution is setup.
Bill Hassell, sysadmin