HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

how should i enable rsh

 
subrata biswal
Frequent Advisor

how should i enable rsh

how should i enable rsh in my hpux machine.
how should i enable passwd less rsh .
7 REPLIES

Re: how should i enable rsh

You don't. rsh is the restricted shell, you want remsh/rlogin?
subrata biswal
Frequent Advisor

Re: how should i enable rsh

till in my pc
/usr/bin/rsh is showing in my home directory.
my os version is 11.11
how should i enable passwdless rsh?
from server to client i m able to login?
but from client to server i m unable to connect by passwdless rsh. it is askink for passwd?


can u help?
how should i enable rsh? can u send the step?

thanks
subrata

Re: how should i enable rsh

>till in my pc

??

>/usr/bin/rsh is showing

This is a hardlink to sh.

>how should I enable passwordless rsh?

Again, you need to enable remsh on HP-UX, NOT rsh. See remsh(1).
Have you created a ~/.rhosts file?

>it is asking for password?

Here is where ~/.rhosts helps.
subrata biswal
Frequent Advisor

Re: how should i enable rsh

from server to client it was happening without passwd.
from client to server it is asking for passwd for rsh?how should i enable passwdless rsh?
send the steps?

subrata
Steven Schweda
Honored Contributor

Re: how should i enable rsh

> [...] my hpux machine.

Not much of a description.

uname -a

> my os version is 11.11

Better than "my hpux machine", I suppose.

> can u help?

Yes. "You" is spelled "you", not "u".

> send the steps?

Step 1:
man remsh

Step2:
man hosts.equiv
Elmar P. Kolkman
Honored Contributor

Re: how should i enable rsh

- Checkout the permissions on your homedirectory and .rhosts file
- Make sure that in your .rhosts file it contains the correct hostname (DNS or /etc/hosts entry for your IP address) of your 'client' and the correct username your coming from.

Keep in mind that you are opening up your system to the world (anything able to access your server) because remsh is NOT SECURE !
See, for instance: http://en.wikipedia.org/wiki/Rlogin
Every problem has at least one solution. Only some solutions are harder to find.

Re: how should i enable rsh

>from client to server it is asking for passwd for rsh? how should I enable password less rsh?

(As I've mentioned several time, the name of "rsh" on HP-UX is remsh, not rsh.)

You put the name of the client in the ~/.rhosts file on the server.