ããã¾ã§å ¬ééµã£ã¦ãã£ã¬ã¯ããªãä½ã£ã¦ scp ãã¦ãã¼ããã·ã§ã³ãå¤ãã¦ã¼ã¿ããã«ããªãé¢åããããã¨ããã¦ããã© ssh-copy-id ã³ãã³ãã使ãã¨æ¥½ã§ããã¿ããã Linux ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãªãæåããå ¥ã£ã¦ããã®ãå¤ããã ãã© Mac OS X ã«ã¯å ¥ã£ã¦ãªãã£ãã®ã§ Homebrew ããå ¥ããã $ brew install ssh-copy-id ä½ã¯ã¨ãããå ¬ééµãã¢ãä½ãã $ ssh-keygen -t rsa ä½ã£ãå ¬ééµããç®çã®ãã¹ãã«è¨ç½®ããã 以ä¸ã®ã³ãã³ããå©ãã¨ãã¹ã¯ã¼ãã§ãã°ã¤ã³ãä¿ãããã $ ssh-copy-id -i ~/.ssh/id_rsa.pub <username>@<host> ä¸æãããã°å ¬ééµã使ã£ã¦ãã°ã¤ã³ã§ããããã«ãªã£ã¦ããã¯ãã $ ssh <username>@<host> ãã§ãããã§ããã
{{#tags}}- {{label}}
{{/tags}}