ssh-copy-idã³ãã³ããä»ããç¥ã£ãã®ã§ãã¡ã¢ã ä½ã«ä½¿ãã³ãã³ããã¨ããã¨ãsshã®ã¯ã©ã¤ã¢ã³ãèªè¨¼ã§ä½¿ãå ¬ééµããµã¼ãã¼å´ã«ã³ãã¼ããã®ã«ä½¿ãã sshã§ãªã¢ã¼ããã¹ãã«æ¥ç¶ããå ´åãæ¥ç¶å ã®ãªã¢ã¼ããã¹ãã«å ¬ééµãç»é²ããå¿ è¦ãããããssh-copy-idã³ãã³ãã使ããªãã¨æ¬¡ã®æé ã«ãªãã ssh-keygen -t dsa âå ¬ééµã¨ç§å¯éµãä½æ scp .ssh/id_rsa.pub 192.168.1.16:~ âå ¬ééµããªã¢ã¼ããã¹ãã®ã¦ã¼ã¶ã¼ã®ãã¼ã ãã£ã¬ã¯ããªã«ã³ãã¼ ssh 192.168.1.16 âãªã¢ã¼ããã¹ãã«æ¥ç¶ãããã§ãã¹ã¯ã¼ããå ¥å mkdir .ssh âã¦ã¼ã¶ã¼ã®ãã¼ã ãã£ã¬ã¯ããªã«.sshãã£ã¬ã¯ããªããªããã°ä½æ cat id_dsa.pub >> .ssh/authorized_keys âå ¬ééµãauthorized_keysãã¡ã¤
{{#tags}}- {{label}}
{{/tags}}