Model: MTS200 (1U)
Doc. Ref. no. : - m08/om/201
Issue no.: 03
Page 129 of 195
User’s Manual
To transfer MTS200 ntp keys using SCP method, user need to take console of MTS200 using
SSH (only by super-user or administrative user of MTS200) from remote host PC, mentioned as
below commands.
On Remote Host PC:
ssh
Where
,
root = is the default super-user of MTS200,
192.168.100.153 = is the IP address of MTS200 ethernet port
If operator has successfully taken the console session of MTS200, then user can give below
commands to transfer the ntp keys to remote Host PC.
scp /home/root/ntp/ntpkey_cert_MTS200
scp /home/root/ntp/ntpkey_host_MTS200
Where
,
user = is the username of remote Host PC where keys are to be transferred,
192.168.100.231 = IP address of remote Host PC where keys are to be transferred
/etc/ntp = it is the destination folder where ntp keys are copied. This can be different
as per remote Host PC ntp client setup
Now, user should close the SSH session with MTS200, as given below command:
exit
User should avoid using Telnet mode to transfer keys as Telnet in unsecure way for
communication.
After keys are transferred, user need to copy keys in ntp clients keys folder (as mentioned in
ntp.conf file) and make links to the transferred keys as follows:
Format:
ln
–s /etc/ntp/ntpkey_host_MTS200 ntpkey_host_username*
ln
–s /etc/ntp/ntpkey_cert_MTS200 ntpkey_cert_username*
here, username = should be the username of the ntp client unix or linux host machine
e.g.
ln
–s /etc/ntp/ ntpkey_host_MTS200 ntpkey_host_ubuntu
ln
–s /etc/ntp/ ntpkey_cert_MTS200 ntpkey_cert_ubuntu
Step 2:
Once, key is transferred to ntp clients and links made as per step1, user should configure ntp
client
ntp.conf
file for NTP Autokey PC scheme as explained below.
First, add below lines in
ntp.conf
file.
crypto pw password #keys password
keysdir /etc/ntp
# directory where autokey is stored
crypto randfile /dev/urandom
server 192.168.100.153 minpoll 6 autokey
password = in ntp.conf file is the password used to generate the NTP PC Autokeys in MTS200
device using webserver.