Operating System - HP-UX
1848764 Members
7733 Online
104036 Solutions
New Discussion

remshd:incorrect login (another one)

 
SOLVED
Go to solution
Erik Voelker_1
Advisor

remshd:incorrect login (another one)

I am recieving this error when attempting a rcp from one 10.20 box to another 10.20 box (even though I can rcp to other machines).
I've tried all the fixes found at the knowledge base.
I can rlogin, remsh, etc. between these two particular hosts, I just cannot rcp?
I've checked: .rhosts,hosts.equiv, inetd.sec, duplicate user ID's, .rhosts permissions, etc.

running out of troubleshooting spots, any help would be appreciated.

Thanks,
Erik
4 REPLIES 4
Vincenzo Restuccia
Honored Contributor

Re: remshd:incorrect login (another one)

Check /etc/securetty if user is root otherwise $HOME/.rhosts
Peggy Fong
Respected Contributor
Solution

Re: remshd:incorrect login (another one)

If you are using dns maybe dns is returning either a fully qualified hostname(domain name) and you are using only the hostname. Try putting all variations of the host name in .rhosts for the userid you are using on both systems to they match (including case). Do a nslookup on each host of your hostname as well. Maybe on different networks dns is returning different names.

Example
.rhosts
systemA user
systemA.DomainName.com userid
systemA.domainname.com userid

Let us know if you get it figured out!
HTH
Peggy
Erik Voelker_1
Advisor

Re: remshd:incorrect login (another one)

You were right Peggy, there was some minor differences within dns which seemed to be causing the problems...

Thanks much!

Erik
Peggy Fong
Respected Contributor

Re: remshd:incorrect login (another one)

Eric
Glad to hear that worked for you. And thanks for the points. Should help someone else if they run into the same problem. Heck, it'll help me when I forget that rcp gives that strange error when the names don't match.
Peggy