# ssh/known_hosts 생성
ansible all -m ping -> yes로
# key생성
ssh-keygen -t rsa
ls -al .ssh/id_rsaid_rsa.pubknown_hosts# key 복사ssh-copy-id dgk@172.1.1.11# 원격 접속후 pub파일 잘 복사됬는지 확인ssh dgk@172.1.1.11ls -al .ssh/ authorized_keys# 확인ansible all -m ping
댓글 없음:
댓글 쓰기