Cisco DNCS System Release 2.7 3.7 4.2 Guia Da Instalação

Página de 124
 
 
 
Create the Private and Public Keys Between the EC and DTACS Servers 
 
OL-31613-01 
89 
 
12  Type the hostname of the DTACS server (recorded in step 2) and press Enter
The Enter the IP address of the site you are adding message appears. 
Example: 
dtacshost
 
Note: Replace the hostname in this example with the actual hostname for your 
DTACS server (recorded in step 2).  
13  Type the IP address of the DTACS server (used in step 1) and press Enter. The 
Do you want to continue? message appears.  
Example: 
203.0.113.2
  
Note: Replace the IP address in this example with the actual IP address for your 
DTACS server (used in step 1).  
14  Type 
y
 and press Enter.  
Results: 
 
A message appears that states that the system is backing up and adding an 
entry to the /etc/hosts file. 
 
The Do you want to continue? message appears and you are prompted for 
the root password of the DTACS server. 
15  When prompted, type the root password for the DTACS server and press Enter
The system displays a series of messages about generating various keys and a 
Done message appears when it is finished. 
16  Type the following command and press Enter to change to the dncs user:  
Note: You should still be working in the root remote terminal window of the EC 
server. 
sux - dncs
 
17  Type the following command and press Enter
ssh -X -i /export/home/dncsSSH/.ssh/siteKey dncsSSH@[DTACS 
hostname] 
 
Note:  ubstitute the hostname of your DTACS server (recorded in step 1) for 
[DTACS hostname]. Do not include the brackets. 
Result: The system logs you on to the DTACS server as dncsSSH user. You are 
now connected to the DTACS server and the host for the DTACS server is 
permanently added to the list of known hosts on the EC. 
18  Type 
su -
 and press Enter. The password prompt appears.  
19  Type the root password for the DTACS server and press Enter.  
20  Type the following command and press Enter to change to the dncs user:  
sux - dncs
  
21  Type the following command and press Enter
ssh -X -i /export/home/dncsSSH/.ssh/siteKey dncsSSH@dncsatm 
 
Result: The system logs you on to the EC as dncsSSH user and the Are you sure 
you want to continue connecting?
 message appears.