- 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
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
02-14-2012 03:17 AM
02-14-2012 03:17 AM
remshd: Login incorrect.
Hi All,
i am trying to do rcp by the following command
[pap2]::/logic/users > rcp test_jen.txt jennyt@pap21:test_jen.txt
but its giving error
remshd: Login incorrect.
i have checked my .rhosts file it gt entry
pap1
What can be possible reason for this error.
Thanks in advance
- Tags:
- rcp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2012 03:43 AM
02-14-2012 03:43 AM
Re: remshd: Login incorrect.
Hi,
Make sure the .rhosts files in the destination servers be updated with the hostname of source server.
> [pap2]::/logic/users > rcp test_jen.txt jennyt@pap21:test_jen.txt
In your case, I suppose "pap2" is the source server and "pap21" is the destination server. In such case the .rhosts file in "pap21" should host the "pap2" entry. Update it if not and check if it works.
If the issue still persists, check to see whether the remsh entry in /etc/inetd.conf contains the -l option (for example):
shell stream tcp nowait root /usr/lbin/remshd remshd -l
Note: -l Disallow authentication based on the user's .rhosts file unless the user is a superuser.
If so, then remove the -l entry (for example):
shell stream tcp nowait root /usr/lbin/remshd remshd
and tell inetd to reread the /etc/inetd.conf file:
inetd -c
Check if it works now.
Pradeep
I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2012 03:54 AM
02-14-2012 03:54 AM
Re: remshd: Login incorrect.
hi i have checked the .rhosts file in both servers and in /etc/inetd.conf
shell stream tcp6 nowait root /usr/lbin/remshd remshd
but still not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2012 04:23 AM - edited 02-14-2012 04:24 AM
02-14-2012 04:23 AM - edited 02-14-2012 04:24 AM
Re: remshd: Login incorrect.
Who is the source user?
What's the exact line in ~jennyt/.rhosts?
And the permissions for that .rhosts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2012 05:13 PM
02-18-2012 05:13 PM
Re: remshd: Login incorrect.
You must have 600 permission on the .rhosts file, owned by jennyt. Also, the parent directory for .rhosts (HOME for jennyt) must not be world writable (755 or 750 would be OK). Then add the IP address to .rhosts for pap2. Network config errors may prevent rcp from working if pap2 cannot be resolved.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2015 01:42 PM
10-16-2015 01:42 PM
Re: remshd: Login incorrect.
Hi Pradeep,
My .rhosts file in the destination contains source server name with proper hostname of source server.
Also remsh entry in /etc/inetd.conf does not contain the -l option
But the problem still persists.
Please help !
- Tags:
- pradeep m
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2015 08:03 PM
10-16-2015 08:03 PM
Re: remshd: Login incorrect.
>My .rhosts file in the destination contains source server name
FQDN? In some cases I've had to use the IP address.