{"id":361,"date":"2015-04-03T15:10:34","date_gmt":"2015-04-03T06:10:34","guid":{"rendered":"http:\/\/kei0310.info\/?p=361"},"modified":"2015-04-03T15:11:38","modified_gmt":"2015-04-03T06:11:38","slug":"post-361","status":"publish","type":"post","link":"http:\/\/kei0310.info\/?p=361","title":{"rendered":"[\u4eee\u60f3\u74b0\u5883][Vagrant] Vagrant\u306e\u4eee\u60f3\u74b0\u5883\u306bscp\u3067\u30d5\u30a1\u30a4\u30eb\u8ee2\u9001"},"content":{"rendered":"<h3>Vagrant\u3067\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u3002<\/h3>\n<p><a title=\"[\u4eee\u60f3\u74b0\u5883][Vagrant] Vagrant\uff0bVirtualBox\u3067\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u3066\u307f\u305f\" href=\"http:\/\/kei0310.info\/?p=341\">\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/a><\/p>\n<h3>ssh-config\u306e\u78ba\u8a8d<\/h3>\n<p>$ vagrant ssh-config\u3067\u3001\u4ee5\u4e0b\u51fa\u529b\u304c\u5f97\u3089\u308c\u308b\u304b\u78ba\u8a8d\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ vagrant ssh-config<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nD:\\vms&gt;vagrant ssh-config\r\nHost default\r\nHostName 127.0.0.1\r\nUser vagrant\r\nPort 2222\r\nUserKnownHostsFile \/dev\/null\r\nStrictHostKeyChecking no\r\nPasswordAuthentication no\r\nIdentityFile D:\/vms\/.vagrant\/machines\/default\/virtualbox\/private_key\r\nIdentitiesOnly yes\r\nLogLevel FATAL\r\n<\/pre>\n<h3>ssh-config\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ vagrant ssh-config &gt; ssh.config<\/pre>\n<h3>scp\u30b3\u30de\u30f3\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u8ee2\u9001<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">$ scp -F ssh.config test.txt vagrant@default:~\/test.txt<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vagrant\u3067\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u3002 \u3053\u3061\u3089\u306e\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002 ssh-config\u306e\u78ba\u8a8d $ vagrant ssh-config\u3067\u3001\u4ee5\u4e0b\u51fa\u529b\u304c\u5f97\u3089\u308c\u308b\u304b\u78ba\u8a8d\u3002 ssh-config\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u51fa\u529b scp\u30b3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[146],"tags":[149,147,150,191],"_links":{"self":[{"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/posts\/361"}],"collection":[{"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kei0310.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=361"}],"version-history":[{"count":5,"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":366,"href":"http:\/\/kei0310.info\/index.php?rest_route=\/wp\/v2\/posts\/361\/revisions\/366"}],"wp:attachment":[{"href":"http:\/\/kei0310.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kei0310.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kei0310.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}