- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rsh access from windows machine
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
тАО04-18-2004 10:50 PM
тАО04-18-2004 10:50 PM
rsh access from windows machine
I have HP-UX 11.0 server I am trying to run rsh command from windows base machine to my HP-UX server. I am getting following error while accessing as root user but can able to access using other user. I have made necessary entries in .rhosts file.
C:\>rsh 204.165.187.11 -l root pwd
204.165.187.11: remshd: Login incorrect.
rsh: can't establish connection
Same is happening on HP-UX 11i server.
Thanks & Regards
Walter Crasto.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 10:54 PM
тАО04-18-2004 10:54 PM
Re: rsh access from windows machine
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 10:54 PM
тАО04-18-2004 10:54 PM
Re: rsh access from windows machine
You clould check the rights on the homedir, and .rhosts file.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 10:56 PM
тАО04-18-2004 10:56 PM
Re: rsh access from windows machine
Also make sure that work with ips and not dns names.
Also make sure that the resolving works in both sides.
nslookup pc-ip ---> the correct pc.
nslookup server-ip ----> the correct
nslookup server-name ----> the correct ip.
nslookup pc-name ----> the correct ip.
run it from both the server and
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 10:57 PM
тАО04-18-2004 10:57 PM
Re: rsh access from windows machine
I don't think you are logged in as root on your windows station, try adding the same username on your HPUX server + .rhosts file.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2004 11:05 PM
тАО04-18-2004 11:05 PM
Re: rsh access from windows machine
rsh unix_svr -l unix_user command
("l" = ell)
And have access from the PC to the unix account via the unix users .rhosts file
cat ~/.rhosts
pc_name user_name
Make sure the PC IP address resolves verbatim to the pc_name in ~/.rhosts
That's how to it, but I think it's quite insecure !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 02:37 AM
тАО04-19-2004 02:37 AM
Re: rsh access from windows machine
I think i know what the issue is. If you are not logged into windows as the user root, it wont work. There is an issue with rsh, it basically ignores the -l flag. I have seen this many times, and I create the user root on my windows system, and as long as i am logged into that account it works fine. I believe that it is a windows rsh bug. If I am wrong, please let me know how to fix the problem, I have about 1500 machines that could benefit from this fix.
Regards
Scott palmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2004 06:01 PM
тАО04-19-2004 06:01 PM
Re: rsh access from windows machine
rsh hostname -l username -n pwd
is the correct command. So nothing wrong in that. But if you are logged in as Administrator on your PC, try putting the
hostname Administrator
in your /.rhosts file. You have to be careful about the Caps letters in your .rhosts file when you deal with Windows.
The other thing is the reverse lookup issue. Try telnetting to the HP machine from the same PC and type who -R and put the exact ip or hostname in .rhosts file. If you see a Fully Qualified Domain name in who -R output, then you have to put the same in .rhosts file. ,e.g.,
yourpcname.domain.com.xx Administrator
Hope it will solve your issue
Rasheed.