![]() ![]() > Package python2-jmespath.noarch 0:0.9.0-3.el7 will be installed > Processing Dependency: python-enum34 for package: python2-cryptography-1.7.86_64 > Processing Dependency: python-ipaddress for package: python2-cryptography-1.7.86_64 > Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.86_64 ![]() > Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.86_64 > Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed > Package python-six.noarch 0:1.9.0-2.el7 will be installed > Processing Dependency: python-backports-ssl_match_hostname for package: python-setuptools-0.9. > Package python-setuptools.noarch 0:0.9.8-7.el7 will be installed > Package python-passlib.noarch 0:1.6.5-2.el7 will be installed > Processing Dependency: python2-pyasn1 for package: python-paramiko-2.1. > Package python-paramiko.noarch 0:2.1.1-9.el7 will be installed > Processing Dependency: python-markupsafe for package: python-jinja2-2.7.2-3.el7_6.noarch > Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.7.2-3.el7_6.noarch > Package python-jinja2.noarch 0:2.7.2-3.el7_6 will be installed > Package python-httplib2.noarch 0:0.9.2-1.el7 will be installed > Processing Dependency: libyaml-0.so.2()(64bit) for package: 86_64 > Processing Dependency: PyYAML for package: ansible-2.4.2. > Processing Dependency: python-cryptography for package: ansible-2.4.2. > Processing Dependency: python-httplib2 for package: ansible-2.4.2. > Processing Dependency: python-jinja2 for package: ansible-2.4.2. > Processing Dependency: python-paramiko for package: ansible-2.4.2. > Processing Dependency: python-passlib for package: ansible-2.4.2. > Processing Dependency: python-setuptools for package: ansible-2.4.2. > Processing Dependency: python-six for package: ansible-2.4.2. > Processing Dependency: python2-jmespath for package: ansible-2.4.2. > Processing Dependency: sshpass for package: ansible-2.4.2. > Package ansible.noarch 0:2.4.2.0-2.el7 will be installed Loading mirror speeds from cached hostfile ~]# ssh Ĭonnect with using ssh as root user.Īnsible is available in extras yum repository, therefore, we can install it using yum command. Verify SSH authentication by connecting to each server. The authenticity of host 'mariadb-01 (192.168.116.203)' can't be established. Now try logging into the machine, with: "ssh ' '"Īnd check to make sure that only the key(s) you wanted were added. 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 usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed The authenticity of host 'lighttpd-01 (192.168.116.202)' can't be established.ĮCDSA key fingerprint is SHA256:kz圜imDDwGPsfsuGXxdrcBqlxVQlU8FZTsYrwbPzZHM.ĮCDSA key fingerprint is MD5:b4:3f:a2:86:30:7a:b7:d7:b3:b0:10:8f:a3:3e:8a:bc.Īre you sure you want to continue connecting (yes/no)? yes usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" SHA256:r2CBUntEfwcot16lGdI2K8b1rli6UUmfdEfiifps3cw Ĭopy SSH public key to lighttpd-01 and mariadb-01 servers. Your public key has been saved in /root/.ssh/id_rsa.pub. Your identification has been saved in /root/.ssh/id_rsa. ~]# ssh-keygenĮnter file in which to save the key (/root/.ssh/id_rsa):Įnter passphrase (empty for no passphrase): ![]() Generate a SSH Key on server using ssh-keygen command. Configure SSH for key-based authentication on CentOS 7: Repeat the above command on lightttpd-01 and mariadb-01 machines. Otherwise, you have to add the name resolution entries in Local DNS Resolver (/etc/hosts) file. ![]() If you have configured a Authoritative DNS Server for you domain, then you can add the RR (Resource Records) of all three servers in it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |