- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Troubles with RSH from Linux
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
тАО01-05-2005 02:09 AM
тАО01-05-2005 02:09 AM
When doing rsh hostname and successfully connecting:
usage: rlogind [-l] [-n]
Connection from x.x.x.x on illegal port
When doing rsh hostname touch /tmp/test.log and receiving no output:
usage: remshd [-ln]
Any input would be greatly appreciated.
Thanks in advance,
Kevin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:22 AM
тАО01-05-2005 02:22 AM
Re: Troubles with RSH from Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:31 AM
тАО01-05-2005 02:31 AM
Re: Troubles with RSH from Linux
Try this and see what happens:
From RH Linux:
# rsh hostname "touch /tmp/test.log ; ls -l /tmp/test.log"
I think rsh may be getting confused with the argument to touch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:37 AM
тАО01-05-2005 02:37 AM
Re: Troubles with RSH from Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:47 PM
тАО01-05-2005 02:47 PM
Re: Troubles with RSH from Linux
Remote shell server (remshd on hp-ux) will try to open inbound connection to your linux box in order to pass stderr. This connection is made on a random port below 1023.
Please note that 'rsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 12:25 AM
тАО01-06-2005 12:25 AM
Re: Troubles with RSH from Linux
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 12:40 AM
тАО01-06-2005 12:40 AM
Re: Troubles with RSH from Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 02:26 AM
тАО01-06-2005 02:26 AM
Re: Troubles with RSH from Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 03:01 AM
тАО01-06-2005 03:01 AM
Re: Troubles with RSH from Linux
Do a 'rpm -qa | grep krb' to see if you have the Kerberos packages installed. Do a 'chkconfig --list kshell' to see if you have the Kerberos rsh commands enabled.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 04:11 AM
тАО01-06-2005 04:11 AM
Re: Troubles with RSH from Linux
krbafs-utils-1.1.1-11
krb5-libs-1.2.7-19
krbafs-1.1.1-11
krb5-workstation-1.2.7-19
pam_krb5-1.70-1
krbafs-devel-1.1.1-11
krb5-devel-1.2.7-19
and it says that KSHELL is OFF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-06-2005 11:57 AM
тАО01-06-2005 11:57 AM
Solution# iptables -L
You can temporarily disable it to see if it helps with rsh problem
# service iptables stop
If you want to keep the firewall running, but enable rsh, insert the following rule to /etc/sysconfig/iptables before first line with '-j REJECT' action.
-A RH-Firewall-1-INPUT -p tcp -s
Then re-enable firewall with
# service iptables start
Also make sure that on linux system you are executing /usr/bin/rsh, NOT kerberos rsh (/usr/kerberos/bin/rsh).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-07-2005 12:42 AM
тАО01-07-2005 12:42 AM
Re: Troubles with RSH from Linux
Thank you so much