EC2ã§sshã¢ã¯ã»ã¹ã¯ãã使ãã¾ã æè¿ãä»äºã§EC2ã使ç¨ããæ©ä¼ãé常ã«ãµãã¾ãããEC2ã«sshãã°ã¤ã³ãã¦ä½æ¥ããããã¨ãããããã®ã§ããã ã¤ã³ã¹ã¿ã³ã¹æ°ã®å¢å ã«ãããã£ã¦ãEC2ã®ãã¹ãåã管çããã®ãé¢åã«ãªã£ã¦ãã¾ãã é常ããã¹ãå管çãé¢åãªå ´åã¯configãã¡ã¤ã«ã«æ¬¡ã®ããã«ãã¹ãåã®å¥åãå®ç¾©ããã°æ¥½ã§ãã #~/.ssh/config Host sample-host Hostname ec2-xxx-xxx-xxx-xxx.amazonaws.com ä¸è¨configãããã°ãä¸è¨ã®ããã«EC2ã¸sshãã°ã¤ã³å¯è½ã§ãã % ssh -i <ãã¼ãã¡ã¤ã«> ec2-user@sample-host ããããã¤ã³ã¹ã¿ã³ã¹ãèµ·åãããæ¶ããããã¦ããã¨ãå½ç¶ãªããec2-xxxããªãã¹ãåã¯å¤ãã£ã¦ãã¾ãã¾ãã EIPã使ãã°åºå®ãã¦ããã¾ãããéçºã®æãAut
{{#tags}}- {{label}}
{{/tags}}