SSHãé »ç¹ã«ä½¿ã£ã¦ããã¨ï¼id_rsa ä¸åããå ¨ç¶è¶³ããªããã³ãã³ãæ¯ã«éµãæå®ãã¦ãªã¯ã®ããã©ãããã SSHã®ãã°ã¤ã³éµã¨ãã°ã¤ã³ã¦ã¼ã¶ã¼ããµã¼ãã¼æ¯ã«å¥ã«ãã .ssh/config Host 192.168.10.* IdentityFile ~/.ssh/id_rsa-local Host 192.168.21.* user admin IdentityFile ~/.ssh/id_rsa-local21 ããã§è¨å®çµããã§ããããããããã§ããã ssh 192.168.10.12ssh 192.168.21.12ã§å¥ã ã®éµã使ããã¾ãã å¥ã®æ¹æ³ ã³ãã³ãã®Aliasãç»é²ãã alias ssh_hogege='ssh hogehoge -i .ssh/id_rsa-local21' alias ssh_fuba='ssh fuba@hogehoge -i .ssh/i
{{#tags}}- {{label}}
{{/tags}}