{"author_name":"yoshitachi","version":"1.0","height":"190","categories":["jenkins","centos","git"],"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fweb-technical.hatenablog.com%2Fentry%2F2017%2F06%2F16%2F164952\" title=\"Jenkins\u3067Git\u306bPush\u6642\u306b\u81ea\u52d5\u30d3\u30eb\u30c9\u3055\u305b\u308b - web-technical-blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://web-technical.hatenablog.com/entry/2017/06/16/164952","description":"# --- jenkins\u30e6\u30fc\u30b6\u30fc\u306b\u30b9\u30a4\u30c3\u30c1 su -s /bin/bash jenkins # --- .ssh\u304c\u306a\u3051\u308c\u3070\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4f5c\u6210(/var/lib/jenkins/.ssh) mkdir ~/.ssh; cd ~/.ssh # --- \u79d8\u5bc6\u9375\u306e\u4f5c\u6210(\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u805e\u304b\u308c\u308b\u304c\u7121\u8996) ssh-keygen -t rsa # --- \u6a29\u9650600\u306b\u8a2d\u5b9a chmod 600 id_rsa # --- \u516c\u958b\u9375(id_rsa.pub)\u3092GitHub\u3078\u767b\u9332\u3059\u308b https://github.com/settings/keys GitHub\u306e\u300cSSH Keys\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u300cNew SSH Key\u300d\u2026","published":"2017-06-16 16:49:52","type":"rich","blog_url":"https://web-technical.hatenablog.com/","provider_url":"https://hatena.blog","title":"Jenkins\u3067Git\u306bPush\u6642\u306b\u81ea\u52d5\u30d3\u30eb\u30c9\u3055\u305b\u308b","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/yoshitachi/","blog_title":"web-technical-blog"}