#!/bin/bash

## adding ssh-key

yum install -y ssh-keygen ssh-copy-id 

ssh-keygen -t rsa -P "" -f ~/.ssh/id_rsa -C "shrek"

ssh-copy-id -i .ssh/id_rsa.pub -p 22 root@hostip

ssh -o stricthostkeychecking=no hostip 


##adding ntp service

yum install -y ntp

