RSH On fedora core 3
Hi all,
I am trying to execute " rsh 'hostname' ls -l " on fedora core 3 from a RH9 machine I am getting an error message 'Permission Denied.' How can I resolve this I have already enabled the service and "rsh hostname" command is successfully running what to do? plz help me out. |
You should use ssh instead, rsh is highly insecure. The syntax with ssh is: ssh -l <username> <machinename>
|
Re: RSH On fedora core 3
Quote:
in.rshd : <client IP address or IP range /sub mask> The correct syntax is rsh -l <username> host <command> |
Hi,
The problem has been resolved by reinstalling the FC3 with X componants. Is there any X configuration file which is requered to execute the "rsh 'hostname' 'command name' " command? |
Re: Re: RSH On fedora core 3
Quote:
|
I just like to tell everybody that at last I found out why my rsh was using
Kerbos5 resulting in annoying messages (when am trying to get a clean passwordless rsh). As I analysed from the list: Connection refused Trying krb4 Connection refused Trying normal The first being a kerberos 5, then a version 4 try before finally a normal being successful. I thought there must be more than one version of rsh installed. So I typed 'locate rsh'. I try the first on the list. I typed '/usr/bin/rsh localhost' and that worked fine. Then typed 'which rsh'. To my surprise it says '/usr/kerberos/bin/rsh'. I then looked at my $PATH and see that that's the first folder that's being pathed. So I removed it. Problem solved. |
All times are GMT -5. The time now is 06:23 AM. |