ssh-keygenã§ç§å¯éµããå ¬ééµãçæãã
å ¬ééµã authorized_keys ã«è¿½å ããããæ¶ãã¡ãã£ã¦ããã ãã©ãäºå®å¤ã«ãã1ç®æç¹ããããªã£ãã®ã§ãç§å¯éµããå ¬ééµãçæãã¾ããããã¾ã«ãããã ãã©ãæ¯åå¿ãã¦ãã®ã§ã¡ã¢ã
$ ssh-keygen -y -f ~/.ssh/id_rsa > id_rsa.pub
å
¬ééµã¯æ¨æºåºåã«åºãã®ã§ãªãã¤ã¬ã¯ãã§ãã¡ã¤ã«ãçæã
-fãªãã·ã§ã³ã£ã¦ãã使ãç§å¯ã»å
¬ééµã®çæã§ã¯ãåºåãã¡ã¤ã«åã®æå®ã ãã©ã-yãªãã·ã§ã³ã使ãå ´åã¯ãå
¬ééµã®å
ã«ãªãç§å¯éµã®æå®ã§ãã
-yãªãã·ã§ã³ãOpenSSHå½¢å¼ã®ç§å¯éµããOpenSSHå½¢å¼ã®å
¬ééµãæ¨æºåºåã«è¡¨ç¤ºãããã®ã«ãªã£ã¦ã¾ãã