- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.00 rsh command output not being retur...
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
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
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
тАО10-05-2009 05:41 AM
тАО10-05-2009 05:41 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 06:05 AM
тАО10-05-2009 06:05 AM
Re: HP-UX 11.00 rsh command output not being returned
On HP-UX rsh is the "restricted POSIX shell" - not remote shell - which is something completely different.
Try:
remsh hostname "command"
you should meet with more success.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 07:00 AM
тАО10-05-2009 07:00 AM
Re: HP-UX 11.00 rsh command output not being returned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 07:03 AM
тАО10-05-2009 07:03 AM
Re: HP-UX 11.00 rsh command output not being returned
Have you setup the .rhosts files on the remote server?
Does the remote server run the remshd (rshd) service?
Do you have network access to the remote server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 07:11 AM
тАО10-05-2009 07:11 AM
Re: HP-UX 11.00 rsh command output not being returned
man rsh
man remsh
And a transcript showing the actual commands
you used with their actual output (instead of
a vague description).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 07:12 AM
тАО10-05-2009 07:12 AM
Re: HP-UX 11.00 rsh command output not being returned
Did you do all these on the remote server? Did you reload the /etc/inted.conf after uncommenting the remsh/rsh line? Any errors on the syslog of the remote server? What kind of server is the remote server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2009 09:58 AM
тАО10-05-2009 09:58 AM
Re: HP-UX 11.00 rsh command output not being returned
It also might be a hostname resolution problem.
After entering the remsh/rsh command, wait for about 3 minutes. You should eventually get an error message. If it's "Connection timed out", start looking for firewalls.
If the message is something along the lines of "Host not found", start checking your hostname resolution: /etc/nsswitch.conf, /etc/resolv.conf and /etc/hosts.
If the connection does not seem to time out at all, and your network administrator is extra clever, you may have been redirected into a tar-pit: a decoy server accepts the connection with a correct response, but sends it out as slowly as possible, pretending to be totally overloaded. The purpose of this is to detect network scan attempts and make scanning more time-consuming.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 06:48 AM
тАО10-08-2009 06:48 AM
Re: HP-UX 11.00 rsh command output not being returned
rsh hostname "echo ok" i should get an ok back but i only get the prompt. i tried remsh with the same results.
1)I have .rhosts set up in my home directly which is nfs mounted.
2)The remote server is running remshd.
3) I do have network access to the remote server.
4)I did verify the changes on remote server and inetd was restarted.
5) There are no errors in the syslog
6) Server is a J5000 running 11.00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 06:51 AM
тАО10-08-2009 06:51 AM
Re: HP-UX 11.00 rsh command output not being returned
remsh hostname "/usr/bin/echo"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-08-2009 07:35 AM
тАО10-08-2009 07:35 AM
Re: HP-UX 11.00 rsh command output not being returned
To make sure local server is working properly, did remsh to an 11i server which returned ok.