Now try logging into the machine, with: "ssh 'Agent1@xxx.xxx.xxx.xxx'"
and check to make sure that only the key(s) you wanted were added.
[root@ansible ansible]# ssh-copy-id -i ~/.ssh/id_rsa.pub manager@xxx.xxx.xxx.xxx
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
manager@xxx.xxx.xxx.xxx's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'manager@xxx.xxx.xxx.xxx'"
and check to make sure that only the key(s) you wanted were added.
[root@ansible ansible]# ssh-copy-id -i ~/.ssh/id_rsa.pub Agent1@xxx.xxx.xxx.xxx
Agent1@xxx.xxx.xxx.xxx's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'Agent1@xxx.xxx.xxx.xxx'"
and check to make sure that only the key(s) you wanted were added.
[root@ansible ansible]# ssh-copy-id -i ~/.ssh/id_rsa.pub manager@xxx.xxx.xxx.xxx
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
manager@xxx.xxx.xxx.xxx's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'manager@xxx.xxx.xxx.xxx'"
and check to make sure that only the key(s) you wanted were added.
[root@ansible ansible]# ssh-copy-id -i ~/.ssh/id_rsa.pub Agent1@xxx.xxx.xxx.xxx
Agent1@xxx.xxx.xxx.xxx's password:
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'Agent1@xxx.xxx.xxx.xxx'"
and check to make sure that only the key(s) you wanted were added.
Ansible Server에서 생성된 key를 Wazuh manager, Agent 서버에 복사합니다.
Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
[root@ansible ansible]# vi /etc/ansible/hosts
## Wauzh Manager 설치할 IP
[wauzh_Manager]
xxx.xxx.xxx.xxx
## Wauzh Agent 설치할 IP
[wauzh_Agnet]
xxx.xxx.xxx.xxx
[root@ansible ansible]# vi /etc/ansible/hosts
## Wauzh Manager 설치할 IP
[wauzh_Manager]
xxx.xxx.xxx.xxx
## Wauzh Agent 설치할 IP
[wauzh_Agnet]
xxx.xxx.xxx.xxx
[root@ansible ansible]# vi /etc/ansible/hosts
## Wauzh Manager 설치할 IP
[wauzh_Manager]
xxx.xxx.xxx.xxx
## Wauzh Agent 설치할 IP
[wauzh_Agnet]
xxx.xxx.xxx.xxx
Ansible에 인벤토리를 Manager IP 정보, Agent IP 정보를 삽입 합니다.
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.
DisagreeAgree
I allow to create an account
When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings. We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account.