ã¯ã©ã¹ã¿ãªã©ã管çãã¦ããã¨ï¼tmuxãªã©ã¿ã¼ããã«ãã«ããã¬ã¯ãµã便å©ã ãï¼ssh-agent(forward)å¨ããé¢åãªãã¨ã«ãªãï¼ ã¨ããã®ãï¼ssh-agentã¯ç°å¢å¤æ°SSH_AUTH_SOCKã«å ¥ã£ã¦ããUNIXãã¡ã¤ã³ã½ã±ããããã¢ã¯ã»ã¹ã§ããããã«ãªã£ã¦ãã¦ï¼ããããã°ã¤ã³ã®åº¦ã«å¤ããï¼ ãããï¼tmuxã®ä¸ã§ã¯ç°å¢å¤æ°ãããã«è¿½éããªãã®ã§ï¼ä¸æ¦detachãã¦logoutããå¾ï¼å度attachããã¨ssh-agentã«ã¢ã¯ã»ã¹åºæ¥ãªããªãåé¡ãèµ·ããï¼ ããã解決ããããã«ï¼SSH_AUTH_SOCKã«ã·ã³ããªãã¯ãªã³ã¯ãæå®ãï¼ã·ã§ã«ãç«ã¡ä¸ãã度ã«ãããå¼µæ¿ããã¨ããæ¹æ³ããããï¼çµæ§ã¯ã¾ãã©ãããå¤ãï¼ å°ã調ã¹ãã¨ï¼ä»¥ä¸ã®ãããªãã®ã.bashrcãªã©ã«æ¸ãæ¹æ³ãè¦ã¤ããï¼ SOCK="/tmp/ssh-agent-$USER" if test $SSH_A
{{#tags}}- {{label}}
{{/tags}}