- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rcp from XP/WIN2K to hp-ux ("remshd: Login inc...
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
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
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
тАО05-10-2005 06:24 PM
тАО05-10-2005 06:24 PM
I am trying to copy file from XP to hp-ux using rcp. But always getting the below error.
remshd: Login incorrect.
Names are there in hosts file.
.rhosts and /etc/hosts.equiv contains the XP host name.
/etc/inetd.conf has
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
What else need to be checked?
I am trying the below syntax from XP.
rcp
Any help is highly appriciated.
Regds
TT
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 06:42 PM
тАО05-10-2005 06:42 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
Is your HP system in secure mode?
What does your syslog say?
Our own servers are in secure mode and we use winscp to transfer files (http://winscp.net/eng/index.php)
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 06:54 PM
тАО05-10-2005 06:54 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
The server is not secured!
(the passwords are in /etc/passwd)
Any other tought?
Thanks in advance
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 07:01 PM
тАО05-10-2005 07:01 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
If that fails, use fwtmp to format the btmp logfile. You will see which user has tried to connect and you can verify if that is the user you thought you were connecting as.
If rlogin works while giving the password manually, there must be something wrong somewhere in .rhosts, /etc/hosts.equiv, ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 08:30 PM
тАО05-10-2005 08:30 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
rlogin command is not available from XP!
I am unable to format the log using fwtmp.
Do you have exact syntax?
strings btmp shows root, remshd & hostname!!
I enbaled logging in inetd (inetd -l).
I see in syslog the messages, but no errors.
Though I am getting error in XP, the syslog seems to be ok like below.
May 11 11:15:07 rp5470 inetd[4407]: shell/tcp: Connection from thayanidhi.qdsnet
.com (192.168.0.90) at Wed May 11 11:15:07 2005
The same name exists in .rhosts & hosts.equiv
Any other clue is highly appriciated.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 08:36 PM
тАО05-10-2005 08:36 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
/usr/sbin/acct/fwtmp < /var/adm/btmp
Maybe you can add a "| tail -n50" to get only the last records of the log.
Normally, failed login attempts should be in this file and you should be able to see from which IP-address (your XP machine) and whith what user the login attempt is being made.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 08:40 PM
тАО05-10-2005 08:40 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
What did you add in the .rhosts file? Only the hostname, or hostname username.
The correct syntax is HostNameField [UserNameField]
If nothing helps, try to create a test configuration:
If you are logged in on XP as TT, create a user TT on UNIX, configure .rhosts and test if this works.
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 10:42 PM
тАО05-10-2005 10:42 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
And in wich mode does XP run.
grtz. Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 11:18 PM
тАО05-10-2005 11:18 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
Summarizing hosts.equiv and .rhosts
hosts.equiv is for system wide equivalency (between the local system and remote system)
.rhosts is for user level equivalency. (between the local system and remote system)
I think hosts.equiv is only required to be modified.
On the unix server, enter the hostname of your XP machine in the /etc/hosts.equiv and remove the .rhosts file in the remote user's (unix) home directory. (make sure that the hostname of the XP machine is pingable from unix server and is the real hostname and not an alias)
for more help do man on hosts.equiv
With best wishes,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 11:46 PM
тАО05-10-2005 11:46 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
I created an equivalent user in unix and tried.
What ever username I try on XP is being passed to unix. (I am able see this in btmp)
If I try without any user name, then the current windows username is passed to UNIX.
But, don't understand why it is incorrect login?
Any more thoughts?
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2005 11:58 PM
тАО05-10-2005 11:58 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
- Could you check if an nslookup on the HP-UX system of the XP hostname and XP IP-address match with eachother ?
- The XP-machine can only connect to the HP-UX machine with only 1 fixed IP-address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2005 12:02 AM
тАО05-11-2005 12:02 AM
SolutionExtract from Microsoft Technet ( http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/52c81f27-de63-40e4-990c-b68761ec20e1.mspx )
Specifying computers (hosts)
Use the Computer.User parameters to use a user name other than the current one. If Computer.User is specified with Source, the .rhosts file on the remote computer must contain an entry for User, as follows:
rcp host99.user7:file1 corp7.admin:file2
The .rhosts file on corp7should have an entry for user7on host99.
If a computer name is supplied as a full domain name containing dots, a user name must be appended to the computer name, as previously described. This prevents the last part of the domain name from being interpreted as a user name, as follows:
rcp domain-name1.user:user92 domain-name2.user:user7
Hope this helps!!!
with best wishes,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2005 12:27 AM
тАО05-12-2005 12:27 AM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
I tried all posibilities.
Any idea is welcome!
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2005 07:15 PM
тАО05-14-2005 07:15 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
So, though I am passing the root login to unix host, the local user (windows login) must be trusted by unix. I was confused here and was trying "root".
Thanks for every one who helped here.
Regds
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2005 07:22 PM
тАО05-14-2005 07:22 PM
Re: rcp from XP/WIN2K to hp-ux ("remshd: Login incorrect")
There is no need of equivalent user in unix.
set .rhosts as shown in the previous post.
Regds
TT