Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãã®ãµã¤ãã«æ¸ãã¦ããéãã«ãã£ããã¨ããããã§ããããã«ãªã£ãã http://www.geocities.jp/sugachan1973/doc/funto39.html ã¨ãããã eval `ssh-agent` ã¨æã£ãå¾ã« ssh-add id_rsaãã¡ã¤ã«ã®ãã«ãã¹ ã¨æã£ãã Could not open a connection to your authentication agent ã¯åºãªããªãããã¹ãã¬ã¼ãºã®è¦æ±ãããããã¾ããã£ãã ãã¾ãè¡ãã° ssh-add -l ã¨æã£ãã¨ãã« 2048 2e:c0ã»ã»ã» ã¿ãããªæãã§éµã®å 容ã表示ãããããã ã ã©ãããã®ä½æ¥ãæé ã«è¨è¼ããã¦ããã¨ãããã¾ããªãã¨ãã¦ãã£ã¦ããã®ã ãã ssh-addã£ã¦ã®ã¯èªè¨¼ã¨ã¼ã¸ã§ã³ãã«ãã¹ãã¬ã¼ãºãç»é²ããä½æ¥ãããã gitã§ãªã¢ã¼ããµã¼ãã¼ã¨ã®ããåããããã¨ãããã¡ãã¡
Windowsç°å¢ PuTTY, Tera Term Pageant.exeã使ã èµ·åæã®å¼æ°ã«ç§å¯éµã®ããã¹ãä¸ããã¨ä¾¿å©ã ã·ã§ã¼ãã«ãããä½ã£ã¦ãã¹ã¿ã¼ãã¢ãããç»é²ããã¨æ´ã«ä¾¿å©ã ä¾: "C:\Program Files (x86)\PuTTY\pageant.exe" "C:\hoge\fuga.ppk" ssh-agent.exeã使ã åè: http://mattn.kaoriya.net/software/20081106192615.htm Poderosa ã¡ãã¥ã¼ããã¼ã«ããã¨ã¼ã·ãã§ã³ããã©ã¯ã¼ããã£ã³ã¯ããããè¨å®ããã Mac OS Xç°å¢ â»ssh-agentã®èµ·åã¯ä¸è¦ ç§å¯éµã®ç»é²ç¶æ³ã®ç¢ºèª
SSH ã§ãµã¼ãã«ãªã¢ã¼ããã°ã¤ã³ããéããã¹ã¯ã¼ãèªè¨¼ã§ã¯ãªãå ¬ééµèªè¨¼ãè¡ã£ã¦ãã人ãå¤ããã¨æãã¾ããèªå® å ã§ã¯åãéµã使ãåãã¦ããã®ã§ãããä»äºã®é½åã§æ°ããéµãä½ããã¨ã«ãªãã¾ãããä¾ã«ãã£ã¦åå¿é²ã§ãã ãã¼ãä½ãã®ã¯ãããªæãã $ ssh-keygen -C [email protected] -f ~/.ssh/id_rsa.hogeãã°ã¤ã³ããæ㯠-i ãªãã·ã§ã³ã§éµãã¡ã¤ã«ãæå®ãããã¨ã§ãéµã使ãåãããã¨ãã§ãã¾ãã $ ssh -i ~/.ssh/id_rsa.hoge [email protected]~/.ssh/config ã«ä½¿ç¨ããéµãåæãã¦ããã°ãéµãã¡ã¤ã«ãåæã«æ¢ãã¦ããã¾ãããã¡ã¤ã«ã®ä¸èº«ã¯ãããªæãã§ã IdentityFile ~/.ssh/id_rsa IdentityFile ~/.ssh/id_rsa.hoge IdentityFile ~/.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}