{"id":598,"date":"2016-05-15T23:46:52","date_gmt":"2016-05-15T14:46:52","guid":{"rendered":"http:\/\/programmer.everything-beginner.com\/?p=598"},"modified":"2016-05-16T20:17:04","modified_gmt":"2016-05-16T11:17:04","slug":"gitlab%e3%82%82%e3%81%a8%e3%81%84gitlab-com%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%81%9f","status":"publish","type":"post","link":"https:\/\/programmer.everything-beginner.com\/?p=598","title":{"rendered":"GitLab\u3082\u3068\u3044GitLab.com\u4f7f\u3063\u3066\u307f\u305f"},"content":{"rendered":"<p>\u3053\u3093\u3070\u3093\u306f\u3002<br \/>\n\u6700\u5e95\u8fba\u3067\u3059\u3002<\/p>\n<p>\u3069\u3046\u3084\u3089\u3001GitLab\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306egit\u30b5\u30fc\u30d0\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u3067<br \/>\n\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306e\u65b9\u306f\u3001<span style=\"font-size: x-large\">GitLab.com<\/span>\u3068\u3044\u3046\u3088\u3046\u3067\u3059\u3002<br \/>\n\u524d\u56de\u3001\u601d\u3044\u3063\u304d\u308a\u9593\u9055\u3063\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u304c\u3001\u8a02\u6b63\u306f\u3057\u307e\u305b\u3093\u3002\u306f\u3044\u3002<span style=\"color:#FF0000;font-size: x-large\">\u6700\u5e95\u8fba\u306e\u6212\u3081<\/span>\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001\u4eca\u56de\u306f\u3001\u3061\u3083\u3093\u3068git\u74b0\u5883\u79fb\u884c\u3057\u307e\u3059\u3088\u3002<br \/>\nSineUp\u3084\u8a2d\u5b9a\u306f\u3001\u9069\u5f53\u306b\u30b0\u30b0\u308a\u306a\u304c\u3089\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>git\u306eurl\u3092\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<pre>\ngit remote git@gitlab.com:xxx\/dotfiles.git\n<\/pre>\n<p>\u3067\u3001\u4ee5\u524d\u3001\u4f5c\u3063\u305f\u516c\u958b\u9375\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u5f8c\u306f\u3001ssh\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3001OK\u3067\u3059\u3002<br \/>\n<a href=\"http:\/\/qiita.com\/redamoon\/items\/07e445d1fce360cb5fa3\" target=\"_blank\">\u3053\u306e\u3042\u305f\u308a<\/a>\u3092\u53c2\u8003\u306b\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>ssh\u306econfig\u306b\u30b5\u30fc\u30d0\u540d\u8ffd\u52a0\u3063\u3068\u3002<\/p>\n<pre>\nHost gitlab\n    Hostname gitlab.com\n    RSAAuthentication yes\n    IdentityFile ~\/.ssh\/id_private\n<\/pre>\n<p>\u3088\u3057\u3001\u30c8\u30e9\u30a4\u3057\u3066\u307f\u308b\u304b\u3002<\/p>\n<pre>\n$ git clone gitlab:xxx\/dotfiles.git\nCloning into 'dotfiles'...\nEnter passphrase for key '\/home\/lowestman\/.ssh\/id_private':\nPermission denied (publickey).\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n<\/pre>\n<p>\u3042\u308c\uff1f\u3000\u306a\u3093\u304b\u5931\u6557\u3057\u3066\u3044\u308b\u306a\u3042\u3002 \u3046\u301c\u3093\u3002\u539f\u56e0\u306f\u306a\u3093\u3060\u308d\u3046\u3002<br \/>\n\u5931\u6557\u3057\u305f\u539f\u56e0\u3092\u898b\u308b\u306b\u306f\u3001\uff53\uff53\uff48\u306b\u30aa\u30d7\u30b7\u30e7\u30f3-vT\u3068\u304b\u3044\u3046\u306e\u3092\u3064\u3051\u3066\u5b9f\u884c\u3059\u308b\u3068\u3044\u3044\u3089\u3057\u3044\u3002<\/p>\n<pre>\nlowestman@takion7 ~\n$ ssh -vT gitlab\nOpenSSH_7.2p1, OpenSSL 1.0.2g  1 Mar 2016\ndebug1: Reading configuration data \/home\/lowestman\/.ssh\/config\ndebug1: \/home\/lowestman\/.ssh\/config line 10: Applying options for gitlab\ndebug1: Connecting to gitlab.com [104.210.2.228] port 22.\ndebug1: Connection established.\ndebug1: key_load_public: No such file or directory\n... \uff08\u7565\uff09 ...\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\ndebug1: Authentications that can continue: publickey\ndebug1: Next authentication method: publickey\ndebug1: Trying private key: \/home\/lowestman\/.ssh\/id_private\nEnter passphrase for key '\/home\/lowestman\/.ssh\/id_private':\ndebug1: Authentications that can continue: publickey\ndebug1: No more authentication methods to try.\nPermission denied (publickey).\n<\/pre>\n<p>\u3046\u301c\u3093\u3002\u9375\u306e\u8a8d\u8a3c\u304c\u4e0a\u624b\u304f\u3044\u3063\u3066\u3044\u306a\u3044\uff1f<br \/>\n\u5ff5\u306e\u305f\u3081\u3001\u3082\u3046\u4e00\u56de\u9375\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u307f\u305f\u304c\u5909\u308f\u3089\u305a\u3002\u3002\u3002<\/p>\n<p>ssh\u306econfig\u8a2d\u5b9a\u304b\uff1f<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3001Host\u306bgitlab.com\u3092\u8ffd\u52a0\u3057\u3066\u307f\u3066\u307f\u305f\u3002<\/p>\n<pre>\nHost gitlab gitlab.com\n    Hostname gitlab.com\n    RSAAuthentication yes\n    IdentityFile ~\/.ssh\/id_private\n<\/pre>\n<p>\u304a\u301c\u3002\u4e0a\u624b\u304f\u3044\u3063\u305f\u307d\u3044\u3002\u306a\u3093\u304b\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3051\u3069\u3001host\u540d\u304cgi\uff54\u306eset-url\u3068\u5408\u3063\u3066\u3044\u306a\u3044\u304b\u3089\uff1f<br \/>\n\u307e\u3042\u3001\u51fa\u6765\u305f\u306e\u3067\u3088\u3057\u3068\u3057\u307e\u3059\u3002\uff08\u3044\u3084\u3001\u3060\u3081\u3060\u308d\u3046\u3002\u3002\u3002\uff09<\/p>\n<p>\u3067\u306f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u3070\u3093\u306f\u3002 \u6700\u5e95\u8fba\u3067\u3059\u3002 \u3069\u3046\u3084\u3089\u3001GitLab\u306f\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306egit\u30b5\u30fc\u30d0\u30fc\u30b7\u30b9\u30c6\u30e0\u306e\u3088\u3046\u3067 \u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u30b5\u30fc\u30d3\u30b9\u306e\u65b9\u306f\u3001GitLab.com\u3068\u3044\u3046\u3088\u3046\u3067\u3059\u3002 \u524d\u56de\u3001\u601d\u3044\u3063\u304d\u308a\u9593\u9055\u3063\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u304c\u3001\u8a02\u6b63\u306f\u3057\u307e\u305b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[7],"tags":[20,102,103],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4sUNl-9E","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/posts\/598"}],"collection":[{"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=598"}],"version-history":[{"count":5,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":603,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=\/wp\/v2\/posts\/598\/revisions\/603"}],"wp:attachment":[{"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programmer.everything-beginner.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}