[root@localhost ~]# puppet node install --login=root --keyfile=/root/.ssh/id_rsa --install-script=puppet-enterprise --installer-payload=/root/puppet-enterprise-3.7.0-el-7-x86_64.tar.gz --installer-answers=/root/answers_file 192.168.122.1
Notice: Waiting for SSH response ...
Notice: Waiting for SSH response ... Done
Notice: Uploading Puppet Enterprise tarball ...
Notice: Uploading Puppet Enterprise tarball ... Done
Notice: Installing Puppet ...
puppetagent_certname: puppet.kiran.com
status: success
stdout: puppet.kiran.com
Notice: Waiting for SSH response ...
Notice: Waiting for SSH response ... Done
Notice: Uploading Puppet Enterprise tarball ...
Notice: Uploading Puppet Enterprise tarball ... Done
Notice: Installing Puppet ...
puppetagent_certname: puppet.kiran.com
status: success
stdout: puppet.kiran.com
[root@localhost ~]# ssh 192.168.0.107
The authenticity of host '192.168.0.107 (192.168.0.107)' can't be established.
ECDSA key fingerprint is SHA256:Mx0RX7fzbH+zlwCAXSz+JNcfKZ/Nb09rypOGPFM4eZU.
ECDSA key fingerprint is MD5:9f:c2:44:57:0f:58:67:bd:ab:71:d6:76:8f:c2:68:f9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.107' (ECDSA) to the list of known hosts.
root@192.168.0.107's password:
Last login: Sat Oct 12 04:34:00 2019 from 192.168.0.107
[root@localhost ~]# exit
logout
Connection to 192.168.0.107 closed.
[root@localhost ~]# ssh-copy-id 192.168.0.107
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.0.107's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh '192.168.0.107'"
and check to make sure that only the key(s) you wanted were added.
[root@localhost ~]# puppet node install --login=root --keyfile=/root/.ssh/id_rsa --install-script=puppet-enterprise --installer-payload=/root/puppet-enterprise-3.7.0-el-7-x86_64.tar.gz --installer-answers=/root/answers_file 192.168.0.107
Notice: Waiting for SSH response ...
Notice: Waiting for SSH response ... Done
Notice: Uploading Puppet Enterprise tarball ...
Notice: Uploading Puppet Enterprise tarball ... Done
Notice: Installing Puppet ...
puppetagent_certname:
status: success
The authenticity of host '192.168.0.107 (192.168.0.107)' can't be established.
ECDSA key fingerprint is SHA256:Mx0RX7fzbH+zlwCAXSz+JNcfKZ/Nb09rypOGPFM4eZU.
ECDSA key fingerprint is MD5:9f:c2:44:57:0f:58:67:bd:ab:71:d6:76:8f:c2:68:f9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.107' (ECDSA) to the list of known hosts.
root@192.168.0.107's password:
Last login: Sat Oct 12 04:34:00 2019 from 192.168.0.107
[root@localhost ~]# exit
logout
Connection to 192.168.0.107 closed.
[root@localhost ~]# ssh-copy-id 192.168.0.107
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@192.168.0.107's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh '192.168.0.107'"
and check to make sure that only the key(s) you wanted were added.
[root@localhost ~]# puppet node install --login=root --keyfile=/root/.ssh/id_rsa --install-script=puppet-enterprise --installer-payload=/root/puppet-enterprise-3.7.0-el-7-x86_64.tar.gz --installer-answers=/root/answers_file 192.168.0.107
Notice: Waiting for SSH response ...
Notice: Waiting for SSH response ... Done
Notice: Uploading Puppet Enterprise tarball ...
Notice: Uploading Puppet Enterprise tarball ... Done
Notice: Installing Puppet ...
status: success
Comments
Post a Comment