- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remshd: Login Incorrect
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
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-10-2003 03:13 AM
11-10-2003 03:13 AM
what I am trying to do is rcp some files from one unix machine to another and I am getting the above error message. The .rhosts file has been setup with hostname:user on both machines but its still not working.
Help
Martin.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:17 AM
11-10-2003 03:17 AM
Re: remshd: Login Incorrect
/etc/nsswtich.conf
/etc/resolv.conf
nslookup the hostname and make sure it matches the actual ip address of the server.
Run a test with the IP address. If it works, you have a DNS problem to deal with.
Look at the log on the target machine for activity as you test.
tail -f /var/adm/syslog/syslog.log
If you see nothing but get the errror, you are not contacting the correct machine.
SEP
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
11-10-2003 03:17 AM
11-10-2003 03:17 AM
Re: remshd: Login Incorrect
check out the entry for remshd in /etc/inetd.conf, it should look like:
shell stream tcp nowait root /usr/lbin/remshd remshd
Don't forget to issue:
#inetd -c
to update the changes.
HTH,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:23 AM
11-10-2003 03:23 AM
Re: remshd: Login Incorrect
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:25 AM
11-10-2003 03:25 AM
Re: remshd: Login Incorrect
should there be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:52 AM
11-10-2003 03:52 AM
Re: remshd: Login Incorrect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 03:57 AM
11-10-2003 03:57 AM
Re: remshd: Login Incorrect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 04:27 AM
11-10-2003 04:27 AM
Re: remshd: Login Incorrect
1. In .rhosts file try IP address instead of hostnames.
2. In inetd.sec file use hostname or IP address infront of all the services , like login,telnet,exec etc..
3. If the root account is disabled ( less likely) enable it by /usr/lbin/modprpw -k root
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 05:08 AM
11-10-2003 05:08 AM
Re: remshd: Login Incorrect
A quick, ( but unsecure) method would be to create /etc/hosts.equiv
use ip addreses, or ensure that
nslookup hostname
can find the hosts in question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 05:18 AM
11-10-2003 05:18 AM
Re: remshd: Login Incorrect
Check /var/adm/inetd.sec for any line with denying any service like SHELL, LOGIN etc.. If it is so it will not work.
Inetd.sec file is not there in /var/adm means, this service should be allowed by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 06:00 AM
11-10-2003 06:00 AM
Re: remshd: Login Incorrect
This can also be becasue the name of the server not being resolved properly , in the $home of the user edit the .rhosts file and put
IP AddServer A User Name
IP AddServer B User Name
in both the servers and ensure that the entry is in /etc/hosts .
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 08:44 PM
11-10-2003 08:44 PM
Re: remshd: Login Incorrect
And the file needs to be in the homedirectory on the machine you try to connect remotely. So if you want to copy to serverB from serverA, running the rcp command on serverA, the .rhosts needs to be in root's homedirectory on serverB, containing:
serverA root
The permissions on the .rhosts file could also cause a problem: it needs to be 400 or 600 (only accessable by the user itself).
The remote hostname needs to be resolvable and an exact match on both servers. So if you do a nslookup on both servers for the machine running rcp, it needs to be the same.
To make sure it should work, try:
remsh serverB ls
Since rcp and remsh use the same access method, this should give an indication if it works or not. The only difference: remsh asks for a password if no correct .rhosts file is available, while rcp just quits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 09:10 PM
11-10-2003 09:10 PM
Re: remshd: Login Incorrect
Only an idea.
Create /etc/hosts.equiv file on the target and put in the source host with FQDN. Then try again.
regards
cl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2003 11:57 PM
11-10-2003 11:57 PM
Re: remshd: Login Incorrect
cheers
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2006 03:31 AM
12-21-2006 03:31 AM
Re: remshd: Login Incorrect
you must put in the .rhosts the name that was first found in /etc/hosts:
IP.addr hostname.domain hostname
then, if you put in .rhosts:
hostname user1
then you'll can't connect via remsh !!
and put:
hostname.domain user1
and connect is allowed.