{"id":18887,"date":"2016-12-23T08:00:58","date_gmt":"2016-12-22T23:00:58","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=18887"},"modified":"2017-01-02T22:59:17","modified_gmt":"2017-01-02T13:59:17","slug":"macos-sierra-%e3%81%a7-ssh-%e3%81%ae%e3%83%91%e3%82%b9%e3%83%95%e3%83%ac%e3%83%bc%e3%82%ba%e3%82%92%e3%82%ad%e3%83%bc%e3%83%81%e3%82%a7%e3%83%bc%e3%83%b3%e3%81%ab%e8%a8%98%e6%86%b6%e3%81%95%e3%81%9b","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/18887.html","title":{"rendered":"macOS Sierra \u3067 ssh \u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u306b\u8a18\u61b6\u3055\u305b\u308b\u306b\u306f"},"content":{"rendered":"<p>macOS Sierra \u3067 ssh \u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u306b\u8a18\u61b6\u3055\u305b\u308b\u306b\u306f\u3001${HOME}\/.ssh\/config \u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3001\u4e0b\u8a18\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: bash; gutter: true\">\r\nHost *\r\n   UseKeychain yes\r\n   AddKeysToAgent yes\r\n   IdentityFile ~\/.ssh\/id_rsa\r\n<\/pre>\n<p>\u3000IdentityFile\u306f\u4f7f\u3063\u3066\u3044\u308b\u79d8\u5bc6\u9375\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002UseKeychain\u306fmacOS\u306b\u3064\u3044\u3066\u3044\u308bssh\u30b3\u30de\u30f3\u30c9\u5c02\u7528\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u306e\u3067\u3001OpenSSH\u3092\u4f7f\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u3068\u4f7f\u3048\u307e\u305b\u3093\u3002OpenSSH\u3092\u4f7f\u3046\u306a\u3089\u3001ssh-agent\u3092\u8d77\u52d5\u3057\u3066\u3001ssh-add\u3092\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000macOS\u306essh\u3068\u306f\u8a71\u304c\u5909\u308f\u308a\u307e\u3059\u304c\u3001\u30e9\u30ba\u30d1\u30a4\u3092\u3055\u308f\u308b\u306b\u306fSSH\u3092\u3088\u304f\u4f7f\u3046\u306e\u3067\u3001\u3088\u304f\u4f7f\u3046MBP\u306a\u3069\u3067\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u624b\u8efd\u306b\u8a18\u61b6\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u8a2d\u5b9a\u306f\u662f\u975e\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u306d\u3002\u3061\u306a\u307f\u306b\u3001\u30e9\u30ba\u30d1\u30a4\u306f2016\u5e7411\u6708\u306eRaspbian\u304b\u3089\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306fSSH\u304c\u7121\u52b9\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30e2\u30cb\u30bf\u3001\u30ad\u30fc\u30dc\u30fc\u30c9\u3001\u30de\u30a6\u30b9\u3092\u3064\u3051\u3066\u8d77\u52d5\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3059\u306d\u3002\u6700\u8fd1\u306eTV\u306a\u308a\u30e2\u30cb\u30bf\u306f\u5165\u529b\u304c\u8907\u6570\u7cfb\u7d71\u3042\u308b\u306e\u3067\u3001\u305d\u308c\u3068\u63a5\u7d9a\u3059\u308c\u3070\u3044\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n<!--more--><br \/>\n\u3000\u6700\u8fd1\u306f\u30ce\u30fc\u30c8\u30d1\u30bd\u30b3\u30f3\u3060\u3051\u3001\u3068\u3044\u3046\u4eba\u3082\u3044\u308b\u3067\u3057\u3087\u3046\u304b\u3089\u3001\u305d\u3046\u3044\u3046\u5834\u5408\u306f\u3001\u300c<a href=\"\/\/www.sssg.org\/blogs\/hiro345\/archives\/16071.html\">Raspberry Pi \u30b7\u30ea\u30a2\u30eb\u901a\u4fe1 | hiro345<\/a>\u300d\u3067\u7d39\u4ecb\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u3001USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30b1\u30fc\u30d6\u30eb\u3092\u4f7f\u3046\u3068\u826f\u3044\u3067\u3059\u3002\u4f7f\u3046\u306a\u3089\u30015V\u30683.3V\u306e\u4e21\u65b9\u306b\u5bfe\u5fdc\u3057\u305f\u300c<a type=\"amzn\" asin=\"B009AME9R4\">FTDI USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30a2\u30c0\u30d7\u30bf\u30fc(5V\/3.3V\u5207\u308a\u66ff\u3048\u6a5f\u80fd\u4ed8\u304d) <\/a>\u300d\u304c\u826f\u3044\u3067\u3059\u3002\u5024\u6bb5\u304c\u5c11\u3057\u9ad8\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3002\u3042\u3068\u3001\u30b7\u30ea\u30a2\u30eb\u901a\u4fe1\u306fPC\u3057\u304b\u3055\u308f\u3063\u305f\u3053\u3068\u306e\u306a\u3044\u4eba\u306b\u3068\u3063\u3066\u306f\u5c11\u3057\u30cf\u30fc\u30c9\u30eb\u304c\u9ad8\u3044\u306e\u3067\u3001\u3042\u308b\u7a0b\u5ea6\u3001\u30e9\u30ba\u30d1\u30a4\u3084\u30de\u30a4\u30b3\u30f3\u306b\u6163\u308c\u3066\u304b\u3089\u30c1\u30e3\u30ec\u30f3\u30b8\u3059\u308b\u306e\u304c\u826f\u3044\u306e\u3067\u3001\u6700\u521d\u306f\u30e2\u30cb\u30bf\u306b\u3064\u3051\u305f\u65b9\u304c\u3044\u3044\u3067\u3059\u3002<\/p>\n<div>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B009AME9R4&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div>\n<p>\u3000\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3\u3001\u65e5\u7d4cLinux\u306b\u3066\u8a18\u4e8b\u3092\u57f7\u7b46\u3057\u3066\u3044\u307e\u3059\u3002\u826f\u304b\u3063\u305f\u3089\u3001\u3069\u3046\u305e\u3002<\/p>\n<div>\n<iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4822239225&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4822239020&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=4822237869&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"\/\/rcm-jp.amazon.co.jp\/e\/cm?t=hiro345-22&amp;o=9&amp;p=8&amp;l=as1&amp;asins=B01MG83EFG&amp;ref=tf_til&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr\" height=\"240\" width=\"320\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div>\n<ul>\n<li><a type=\"amzn\" asin=\"4822239225\">\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2017\u5e742\u6708\u53f7 (\u65e5\u7d4cBP\u30d1\u30bd\u30b3\u30f3\u30d9\u30b9\u30c8\u30e0\u30c3\u30af) <\/a><\/li>\n<li><a type=\"amzn\" asin=\"4822239020\">\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f3 2016\u5e7412\u6708\u53f7(\u65e5\u7d4cBP\u30d1\u30bd\u30b3\u30f3\u30d9\u30b9\u30c8\u30e0\u30c3\u30af) <\/a><\/li>\n<li><a type=\"amzn\" asin=\"4822237869\">\u30e9\u30ba\u30d1\u30a4\u30de\u30ac\u30b8\u30f32016\u5e7410\u6708\u53f7(\u65e5\u7d4cBP\u30d1\u30bd\u30b3\u30f3\u30d9\u30b9\u30c8\u30e0\u30c3\u30af) <\/a><\/li>\n<li><a type=\"amzn\" asin=\"B01MG83EFG\">\u65e5\u7d4cLinux(\u30ea\u30ca\u30c3\u30af\u30b9)2017\u5e741\u6708\u53f7 <\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>macOS Sierra \u3067 ssh \u306e\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u30ad\u30fc\u30c1\u30a7\u30fc\u30f3\u306b\u8a18\u61b6\u3055\u305b\u308b\u306b\u306f\u3001${HOME}\/.ssh\/config \u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u3001\u4e0b\u8a18\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002 Host * UseKeychain yes AddKe &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/18887.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[1324,817,1323,198],"class_list":["post-18887","post","type-post","status-publish","format-standard","hentry","category-linux","tag-config","tag-macos","tag-sierra","tag-ssh"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/18887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=18887"}],"version-history":[{"count":4,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/18887\/revisions"}],"predecessor-version":[{"id":18905,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/18887\/revisions\/18905"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=18887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=18887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=18887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}