- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to enable 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
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
тАО03-27-2008 12:11 PM
тАО03-27-2008 12:11 PM
how to enable rsh
i want to enable rsh on my machine actually . what i did is create a file by name .rhosts in /etc enter the hostname i want to access . Do the same on the machine to whom i want to access but fail . error is host not found .
Regards
Mujtaba Khan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2008 12:21 PM
тАО03-27-2008 12:21 PM
Re: how to enable rsh
I think you mean 'remsh' for "remote shell". Assuming that you have properly configured your '.rhosts' files, then make sure that the 'shell' service isn't commented-out in '/etc/inetd.conf'. If it is, un-comment it and restart the 'inetd' daemon:
shell stream tcp nowait root /usr/lbin/remshd remshd
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2008 12:28 PM
тАО03-27-2008 12:28 PM
Re: how to enable rsh
# man rhosts
or
# man hosts.equiv
for more information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2008 01:02 PM
тАО03-27-2008 01:02 PM
Re: how to enable rsh
_What_ fails? Exactly what command did you
use? (And where did you use it?) Exactly
what happened when you tried it? (Do "copy"
and "paste" work for you?)
> [...] on my machine [...]
What _is_ your machine? "uname -a"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 04:00 AM
тАО03-28-2008 04:00 AM
Re: how to enable rsh
consider host names are
Machine A (172.19.74.47)
Machine B (172.19.74.48)
what i want is to do remsh to machine B from machine A.
Entry in hosts.equiv (Machine A)
# machineB 01_srv root
172.19.74.48
Entry in hosts.equiv (Machine B)
172.19.74.47
..
# remsh 172.19.74.48
├в ┬мPassword:
it require password .. what i want is it wont ask for password and allow me to in directly.
Regards
Mujtaba Khan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 05:37 AM
тАО03-28-2008 05:37 AM
Re: how to enable rsh
Normally, this is the way to go around:
Assuming you want to copy a directory subtree from Machine B to Machine A. The steps are:
1. At machine A
a) Create /.rhosts file and add 2 lines
2. At Machine B, repeat the step (1.a)
3. Login as root from Machine B
4. Try rlogin
This should log you in to Machine A without password.
5. From Machine A try
rlogin
Again login should happen without password.
6. Now You must be in Machine B. Assuming you want to copy /tmp/mydir
# rcp -r /tmp/mydir
7. Verify files check at your Machine A if you got the files. if so, you can proceed.
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2008 05:50 AM
тАО03-28-2008 05:50 AM
Re: how to enable rsh
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-29-2008 12:27 AM
тАО03-29-2008 12:27 AM
Re: how to enable rsh
Regards
Mujtaba Khan