Remote Shell Configuration

To be able to use remote shell (rsh) for backup/restore, we need to make sure that the Source system accepts rsh commands from the Target. In order to do that, we need to take the following steps:

  1. Obtain the Source Environment Private IP Address and Destination Environment Private IP Address from the Event Engine dashboard.

If you need assistance obtaining information from the Event Engine dashboard, please see the Getting Started: Login section of this lab.

  1. On the Source environment, run the command below to get our console session ready for hosts file modification
TERM=vt100; export TERM
  1. On the Source environment, execute the commands below to modify the hosts file configuration the server. Append the source and target IP address information obtained from the Event Engine dashboard to the end of the hosts file.
cd /etc
vi hosts

Charon SSP Connection

To edit the hosts file, press j until the end of the file is reached, then enter a to append text, hit the return key and paste the entries for source and target, lastly hit Esc and enter wq! to save the file.

Please see Using the vi editor guide if you need a refresher on the vi editor on Solaris.

  1. On the Source environment, create an rhosts file by running the commands below. Enter the word target in the file and save it by hitting Esc and entering wq!
cd /etc
vi .rhosts

Charon SSP Connection

  1. On the Target environment, run the command below to get our console session ready for hosts file modification
TERM=vt100; export TERM
  1. On the Target environment, now execute the commands below to modify the hosts file configuration the server. Append the source and target IP address information obtained from the Event Engine dashboard to the end of the hosts file.
cd /etc
vi hosts

Charon SSP Connection

To edit the hosts file, press j until the end of the file is reached, then enter a to append text, hit the return key and paste the entries for source and target, lastly hit Esc and enter wq! to save the file.

Please see Using the vi editor guide if you need a refresher on the vi editor on Solaris.

  1. Ensure that both Source and Target environments can ping each other as shown in the screenshot below.

Charon SSP Connection