Public keys best practice question
Posted on 2015-01-02
I am setting up a yum update server using the script below kindly provided by andreas.
My question is what is the best way to distribute the public key from the central Distribution server to all the client servers. The central distro server is a RHEL server.
Can the public key belong to the root user or should it be another key for just yum updates.
for i in $hosts ;do
ssh root@$i -t sudo '/usr/bin/yum update -y'
then call script with
filename.txt should have one ip in one line
each line one ip