- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remshd: Login incorrect (no root user)
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
04-26-2006 04:12 PM
04-26-2006 04:12 PM
I have 2 server (SVR01, SVR02).
I created a user (user1) in SVR02 and use rcp.
Command like this:
#rcp hello SVR02:/folder1
I showed that "remshd: Login incorrect"
If i use "root" user for rcp. It 's ok.
Please help me to find the reason and fix it.
Many thanks.
QVU.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 04:17 PM
04-26-2006 04:17 PM
Re: remshd: Login incorrect (no root user)
if you didn't specify the username in the rcp command, you need to have "user1" on both server.
GOOD LUCK!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 04:26 PM
04-26-2006 04:26 PM
Re: remshd: Login incorrect (no root user)
I created 2 user (1 for SVR01, 1 for SVR02). The same password for 2 user. But i can not still use rcp"
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 05:12 PM
04-26-2006 05:12 PM
Re: remshd: Login incorrect (no root user)
From SVR01, telnet to SVR02. (Just plain telnet with user1 id and it's pass). Once logged on , do who -um.
Note down ip_address/hostname you see in last column of above command. You need to have exactly the same ip_address/hostname and user name in .rhosts file on SVR02 server in HOME dir of user1. .rhosts would look like follows on SVR02. (in HOME dir of user1 on SVR02)
"ip_address/hostname_from_who-um_command" user1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 06:44 PM
04-26-2006 06:44 PM
SolutionWe had this a couple of times in a script
, sometimes it worked and then it didn't and
then it did.
Our solution was (and we never had the incident again)
1. specify not only server name but also
username explicitly in .rhosts
thus:
serverx user1
2. Ensure .rhosts had correct permissions
(If it is a batch script then the following
is handy as a safety valve)
3. prior to our rcp we do a nslookup as a to
test for network glitzes,
if successfull we continue doing the rcp
, if not we sleep 30 seconds.
3 If rcp cmd fails , we rerun after one
minute.
This formulea was dead solid.
Never any more problems with remsh, rcp
anywhere between our 30 odd servers !!
Allé bon
good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 06:58 PM
04-26-2006 06:58 PM
Re: remshd: Login incorrect (no root user)
Many thanks.
QVU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 06:59 PM
04-26-2006 06:59 PM