ãã¡ãã®è¨äºã§ãSSHã®ãã¹ã¯ã¼ããªãã®éµäº¤ææ¹å¼ã§ã®ãã°ã¤ã³ãããæ¹æ³ãç´¹ä»ãã¦ãã¾ãããã®ä¸ã§ãç¸æã®ãµã¼ãã«å¯¾ãã¦çæããid_rsa.pubãã³ãã¼ããã¨ããæé ãããã¾ãããã®ã³ãã¼ããæé ãçãããã®ã³ãã³ããåå¨ãã¾ããçµæ§ä¾¿å©ã§ãã®ã§ãç´¹ä»ãã¾ãã â ssh-copy-idã³ãã³ã ãã®ã³ãã³ãã以ä¸ã®ããã«å®è¡ããã¨ã対象ã®ãµã¼ãã«å¯¾ãã¦SSHã§ãã°ã¤ã³ããid_rsa.pubãã³ãã¼ãã¦èªåçã«authorized_keysãçæãã¦ããã¾ãã ssh-copy-id [email protected] ä¸è¨ã®ä¾ã ã¨ãrootã¦ã¼ã¶ã§192.168.100.20ã«å¯¾ãã¦SSHæ¥ç¶ãã¦ãid_rsa.pubãã³ãã¼ãã¾ããã³ãã³ããèªåã§å®è¡ãã¦ãããã®ã§ãééããå°ãªããªãã¨æãã¾ãã ansibleã使ã£ã¦ãµã¼ããæ§ç¯ããã¨ãã«ãä¸çªã¯ããã«å¯¾è±¡ã®ãµã¼ãã«ä¸è¨ã®ã³
{{#tags}}- {{label}}
{{/tags}}