1. rsh Configuration
1. Install software and start services
Chkconfig rsh on
Chkconfig rlogin on
Service xinetd reload
Create the/etc/hosts. equiv file
Touch/etc/hosts. equiv
Chmod 600/etc/hosts. equiv
Chown root: root/etc/hosts. equiv
Edit
+ <Hostname1>
+ <Hostname2>
Ii. ssh Configuration
1. Configure ssh to generate a key
Su-<user_name>
Mkdir ~ /. Ssh
Chmod 700 ~ /. Ssh
/Usr/bin/ssh-keygen-t rsa # Accept the default settings.
Exit
2. Activate user equivalency of host1
Host1
Su-<user_name>
Cd ~ /. Ssh
Cat id_rsa.pub> authorized_keys
Scp authorized_keys Host2:/<user_home_diretory>/. ssh/
Exit
3. Activate user equivalency of host2
Host2
Su-<user_name>
Cd ~ /. Ssh
Cat id_rsa.pub> authorized_keys
Scp authorized_keys Host1:/<user_home_diretory>/. ssh/
Both hosts contain: authorized_keys
4. Test
Su-<user_name>
Ssh host1 date
Ssh host2 date
Ssh host1.localdomain date
Ssh host2.localdomain date
Exec/usr/bin/ssh-agent $ SHELL
/Usr/bin/ssh-add
Exit