rsh with different local and remote user
Hi, is there another solution than creating for every user a .rhosts file ? I want to use : rsh -l <remoteuser> <remotehost> date remoteuser and localuser are different. I've experimented with entries in /etc/netgroup and /etc/hosts.equiv, but this works only, if remoteuser and localuser are the same. Any idea ? regards uwe
Hi,
is there another solution than creating for every user a .rhosts file ?
I want to use :
rsh -l <remoteuser> <remotehost> date
remoteuser and localuser are different. I've experimented with entries in /etc/netgroup and /etc/hosts.equiv, but this works only, if remoteuser and localuser are the same.
Any idea ? You should replace rsh (an insecure protocol transmitting data in plain text) with ssh (a secure
Wagner, Uwe wrote: protocol trasmitting data with encryption). Then instead of .rhosts (or in the case of ssh, .shosts) you should use public key authentication. The public key for the "localuser" can be placed in the "remoteuser's" ~/.ssh/authorized_keys file and then you simply connect with 'ssh remoteuser@host'. -- David M. Fetter - http://www.fetterconsulting.com/ "The world is full of power and energy and a person can go far by just skimming off a tiny bit of it." Neal Stephenson - Snow Crash
participants (2)
-
David M. Fetter
-
Wagner, Uwe