- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problems with rsh
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
05-30-2003 07:52 AM
05-30-2003 07:52 AM
Problems with rsh
I'm trying the following command
rsh uxhost -l uxuser uxcommand
and keep getting the following error message:--
permission denied
rsh: can't establish connection.
I'd seen this problem before on this forum and the the solution then was to add entries to the .rhosts file for the local pcname. I've tried all combinations for the local pcname and +, + +, uppercase, lowercase and all result in the same error
I've also tried with different permissions set on the .rhosts file - rwxrwxrwx,rw-------, rw-r--r-- everything still fails.
Even when I'm sitting on the Unix box itself and try and rsh to myself I get the error occurring. (i.e. rsh ipaddress command)
Can anyone help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 08:00 AM
05-30-2003 08:00 AM
Re: Problems with rsh
check the following:
- does the user have the password ? if no, set it.
- does remsh works ?
- what commands are you trying to issue ? in the "man rsh" i found this:
BUGS
If you are using csh(1) and put a rsh in the background without redirect-
ing its input away from the terminal, it will block even if no reads are
posted by the remote command. If no input is desired you should redirect
the input of rsh to /dev/null using the -n option.
You cannot run an interactive command (like rogue(6) or vi(1)) using rsh;
use rlogin(1) instead.
Stop signals stop the local rsh process only; this is arguably wrong, but
currently hard to fix for reasons too complicated to explain here.
- check your /etc/inetd.conf and inetd.sec.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 08:01 AM
05-30-2003 08:01 AM
Re: Problems with rsh
Try "remsh HOST COMMAND" and see what happens.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 08:37 AM
05-30-2003 08:37 AM
Re: Problems with rsh
Try the remsh command. The following posts will help you:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x66ffa12d6d27d5118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0cff5f49dbb6d611abdb0090277a778c,00.html
Regards,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2003 08:42 AM
05-30-2003 08:42 AM
Re: Problems with rsh
ssh -l username host "cmd"