NTP time server and ssh password-free configuration

1. Configure the NTP time server to ensure that the client host can synchronize time with the service host

Experimental steps:
 

(1) Server and client download chrony program

Command: yum install chrony -y

 

(2) Modify the parameters of /etc/chrony.conf

because /etc/chrony.conf

Parameters that need to be modified in chrony server

 

 

 Parameters that need to be modified on the client node

(3) Restart the chronyd program

Command: systemctl restart chronyd

(4) Verify configuration

2. Configure ssh password-free login to enable the client host to conduct remote connections based on public key verification through the redhat account on the server side.

Experimental process:
(1) Create redhat user

(2) Enter node and redhat to create a secret key

 

 

(3) Send the node’s secret key to the server redhat user  

 (4) Verify password-free login

 

 

 

Guess you like

Origin blog.csdn.net/weixin_45875361/article/details/130952093