{"id":1767,"date":"2019-01-18T12:30:57","date_gmt":"2019-01-18T03:30:57","guid":{"rendered":"http:\/\/43.203.250.216\/?p=1767"},"modified":"2020-12-30T12:43:38","modified_gmt":"2020-12-30T03:43:38","slug":"firewall-%eb%b0%94%ea%b9%a5%ec%9d%98-git%ec%9d%84-clone%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=1767","title":{"rendered":"Firewall \ubc14\uae65\uc758 git\uc744 clone\ud558\uae30"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Firewall\ub4f1\uc774 \ub9c9\uace0 \uc788\uc5b4\uc11c \uc678\ubd80\uc758 git repository\ub97c HTTPS\ub85c\ub294 clone\ud560 \uc218 \uc788\uc9c0\ub9cc SSH\ub85c\ub294 \ub9c9\ud788\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. \ud2b9\ud788\ub098 GitHub\uc758 two-factor authentication\uc744 \uc124\uc815\ud55c \uacbd\uc6b0\ub77c\uba74 \ub9e4\ubc88 token\uac12\uc744 \uc785\ub825\ud558\ub294 \uac83 \ub54c\ubb38\uc5d0 commit\uc744 push\ud558\ub294\uac8c \ub9e4\uc6b0 \uadc0\ucc2e\uc544\uc9c4\ub2e4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\uc774 \ubb38\uc81c\ub294 ssh config file\uc5d0 Proxy command\ub97c \uc124\uc815\ud574\uc11c \ud574\uacb0\ud560 \uc218 \uc788\ub294\ub370<br>${HOME}\/.ssh\/config\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ucd94\uac00\ud574 \uc8fc\uace0, credential caching\uc744 \uc124\uc815\ud574 \uc900\ub2e4. (-S option\uc5d0\ub294 SOCKS port\ub97c \uc124\uc815\ud574\uc57c \ud568)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Host GitHub.com\n  HostName github.com\n  User git\n  Port 22\n  PorxyCommand connect-proxy -S {proxy-server}:{socks-port} %h %p<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Firewall\ub4f1\uc774 \ub9c9\uace0 \uc788\uc5b4\uc11c \uc678\ubd80\uc758 git repository\ub97c HTTPS\ub85c\ub294 clone\ud560 \uc218 \uc788\uc9c0\ub9cc SSH\ub85c\ub294 \ub9c9\ud788\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. \ud2b9\ud788\ub098 GitHub\uc758 two-factor authentication\uc744 \uc124\uc815\ud55c \uacbd\uc6b0\ub77c\uba74 \ub9e4\ubc88 token\uac12\uc744 \uc785\ub825\ud558\ub294 \uac83 \ub54c\ubb38\uc5d0 commit\uc744 push\ud558\ub294\uac8c \ub9e4\uc6b0 \uadc0\ucc2e\uc544\uc9c4\ub2e4. \uc774 \ubb38\uc81c\ub294 ssh config file\uc5d0 Proxy command\ub97c \uc124\uc815\ud574\uc11c \ud574\uacb0\ud560 \uc218 \uc788\ub294\ub370${HOME}\/.ssh\/config\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \ucd94\uac00\ud574 \uc8fc\uace0, credential caching\uc744 \uc124\uc815\ud574 \uc900\ub2e4. (-S option\uc5d0\ub294 SOCKS port\ub97c \uc124\uc815\ud574\uc57c \ud568)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[6],"tags":[48,53,54,102,115],"class_list":["post-1767","post","type-post","status-publish","format-standard","hentry","category-tools","tag-firewall","tag-git","tag-github","tag-proxy","tag-socks"],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4286,"url":"https:\/\/litcoder.com\/?p=4286","url_meta":{"origin":1767,"position":0},"title":"OpenProject\ub97c Docker\ub85c \uc124\uce58","author":"litcoder","date":"2026\ub144 4\uc6d4 8\uc77c","format":false,"excerpt":"\ud504\ub85c\uc81d\ud2b8 \uad00\ub9ac \ub3c4\uad6c\ub85c \ub9ce\uc774 \uc0ac\uc6a9\ub418\ub294 Atlassian\uc758 JIRA\ub97c \ub300\uccb4\ud558\uae30 \uc704\ud55c \uc624\ud508\uc18c\uc2a4 \ud504\ub85c\uc81d\ud2b8\ub4e4 \uc911 \uac00\uc7a5 \uc778\uae30\uac00 \uc788\ub2e4\ub294 OpenProject\ub97c \ud68c\uc0ac\uc5d0\uc11c \uc9c4\ud589\ud558\ub294 \ud504\ub85c\uc81d\ud2b8\ub97c \uc704\ud574 \uc0ac\uc6a9\ud574 \ubcf4\uae30\ub85c \ud588\ub2e4. Docker\ub85c \uc124\uce58\ud558\uae30 \uc900\ube44 Source code clone OpenProject\ub294 GitHub repo\uc5d0\uc11c tag\uac00 \uc544\ub2cc branch\uba85\uc744 stable\/<version> \ud615\uc2dd\uc73c\ub85c \ub9b4\ub9ac\uc988\ud558\uace0 \uc788\ub294 \ub4ef \ud558\ub2e4. 2026\ub144 4\uc6d4 \ud604\uc7ac \uac00\uc7a5 \ucd5c\uc2e0 \ubc84\uc804\uc778 17\ubc84\uc804\uc744 \ub2e4\uc74c\uacfc \uac19\uc774\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2026\/03\/openproject17_login.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2026\/03\/openproject17_login.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2026\/03\/openproject17_login.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3853,"url":"https:\/\/litcoder.com\/?p=3853","url_meta":{"origin":1767,"position":1},"title":"SSH Permission denied (publickey)","author":"litcoder","date":"2025\ub144 11\uc6d4 26\uc77c","format":false,"excerpt":"\uc8fc\ub85c \uc2dc\uc2a4\ud15c\uc744 \uc124\uc815\ud558\ub294 \ucd08\uae30\uc5d0 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c\uc778\ub370 private key\uac00 \uc81c\ub300\ub85c \uc788\uace0 file permission\ub3c4 \uc798 \uc124\uc815 \ub418\uc5b4 \uc788\uc74c\uc5d0\ub3c4 ssh \uc811\uc18d\uc744 \uc2dc\ub3c4\ud558\uba74 \uad8c\ud55c \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0\uac00 \uc788\ub2e4. $ ssh -T git@github.com git@github.com: Permission denied (publickey). \ud574\uacb0\ud558\ub294 \ubc29\ubc95\uc740 \uc0ac\uc6a9\ud558\ub824\ub294 private key\ub97c ssh-add \uba85\ub839\uc5b4\ub97c \uc774\uc6a9\ud574\uc11c ssh-agent\uc5d0\uac8c \ucd94\uac00\ud574 \uc8fc\ub294 \uac83\uc778\ub370, \ub9cc\uc57d ssh-agent\uac00 \ub3d9\uc791\ud558\uc9c0 \uc54a\ub294 \uc0c1\ud0dc\ub77c\uba74 \uc774\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":33,"url":"https:\/\/litcoder.com\/?p=33","url_meta":{"origin":1767,"position":2},"title":"Repo mirroring","author":"litcoder","date":"2012\ub144 5\uc6d4 26\uc77c","format":false,"excerpt":"\ud55c\uad6d\uacfc \ubbf8\uad6d \ucc98\ub7fc \uac70\ub9ac\uc0c1\uc73c\ub85c \uba40\ub9ac \ub5a8\uc5b4\uc838 \uc788\ub294 \uacbd\uc6b0, \ud55c\ucabd\uc5d0\uc11c source\ub97c sync\ud558\uae30 \uc704\ud574\uc11c\ub294 \uc2dc\uac04\uc774 \ub108\ubb34 \ub9ce\uc774 \uac78\ub9b0\ub2e4. Mirror\ub97c \uc124\uc815\ud558\uace0 \uc8fc\uae30\uc801\uc73c\ub85c source\ub97c sync \ud574 \uc624\ub3c4\ub85d \ud558\uba74 \uc2dc\uac04\uacfc load\ub97c \uc904\uc77c \uc218 \uc788\ub2e4. \ub2e4\uc74c\uc740 Ubuntu 10.04 LTS \uae30\uc900\uc73c\ub85c\ud55c repo mirror server \uc124\uc815\ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud55c\ub2e4. 1. Git daemon \uc124\uc815 : xinetd\ub97c \uc124\uce58\ud558\uace0 git-daemon\uc744 \uc124\uc815\ud55c\ub2e4. $>\u2026","rel":"","context":"&quot;Tools &amp; Tips&quot;\uc5d0\uc11c","block_context":{"text":"Tools &amp; Tips","link":"https:\/\/litcoder.com\/?cat=6"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3847,"url":"https:\/\/litcoder.com\/?p=3847","url_meta":{"origin":1767,"position":3},"title":"Raspberry Pi 5\uc5d0 \uac04\ub2e8\ud55c Linux \uc2dc\uc2a4\ud15c \uc62c\ub9ac\uae30","author":"litcoder","date":"2025\ub144 12\uc6d4 3\uc77c","format":false,"excerpt":"\uc774 \ud3ec\uc2a4\ud305\uc5d0\uc11c\ub294 Raspberry pi 5(RPi5)\uc5d0 \uc544\uc8fc \ub2e8\uc21c\ud55c \ub9ac\ub205\uc2a4 \uc2dc\uc2a4\ud15c\uc744 \uad6c\uc131\ud574\uc11c \ubd80\ud305\ud574 \ubcf4\ub294 \uacfc\uc815\uc744 \ub2e4\ub8ec\ub2e4. Ubuntu 24.04 \uac1c\ubc1c\ud658\uacbd\uc5d0\uc11c RPi5\ub97c \uc704\ud55c u-boot, Linux, Busybox\ub97c \uc124\uc815\ud558\uace0 \ubd80\ud305\ud574 \ubcfc \uac83\uc774\ub2e4. SD card \uc900\ube44 SD card\ub97c \uac1c\ubc1c \ud638\uc2a4\ud2b8 \uba38\uc2e0\uc5d0 \uc0bd\uc785\ud558\uace0 lsblk \uba85\ub839\uc5b4\ub85c \uc5f0\uacb0\ub41c \ub514\ubc14\uc774\uc2a4\ub4e4\uc744 \ud655\uc778\ud55c\ub2e4. \uc704\uc758 \uc608\uc81c\uc5d0\uc11c SD card\ub294 mmclbk0\uc774\ub2e4. \uc800\uc7a5\uacf5\uac04\uc758 \ud06c\uae30\ub97c \ud1b5\ud574 \uad6c\ubd84\ud558\uac70\ub098 SD\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2025\/11\/u-boot-lsblk.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2549,"url":"https:\/\/litcoder.com\/?p=2549","url_meta":{"origin":1767,"position":4},"title":"OpenGrok \ucd5c\uc2e0\ubc84\uc804 \uc124\uce58\ud558\uae30","author":"litcoder","date":"2020\ub144 8\uc6d4 5\uc77c","format":false,"excerpt":"\ud55c \ub54c \uac11\uc790\uae30 \ubc30\ud3ec\ud558\ub358 \uc11c\ubc84\uac00 \uc5c6\uc5b4\uc838\uc11c \ud639\uc2dc\ub098 \ud558\ub294 \uac71\uc815\uc5d0 \ubc30\ud3ec\ud30c\uc77c\uc744 \ub2e4\uc6b4\ub85c\ub4dc \ubc1b\uc544 \ub450\uae30\uae4c\uc9c0 \ud588\ub358 OpenGrok project\uac00 \ub2e4\ud589\ud788 Oracle\uc758 GitHub \ub0b4\uc5d0 \uc790\ub9ac\ub97c \uc7a1\uace0 \uc798 \uafb8\uc900\ud788 \uc5c5\ub370\uc774\ud2b8 \ub418\uace0 \uc788\ub2e4.\uc608\uc804\uc5d0 \uc791\uc131\ud588\ub358 OpenGrok \uc124\uce58\ub97c \uc704\ud55c \uae00\ub4e4\uc740 \ub108\ubb34 \uc624\ub798\ub418\uc5b4\uc11c \uc798 \ub9de\uc9c0 \uc54a\ub294 \uac83\ub3c4 \uc788\uace0 \ud574\uc11c \ucd5c\uadfc \ubc84\uc804\uacfc \ud658\uacbd\uc744 \uae30\uc900\uc73c\ub85c \ub2e4\uc2dc \uc124\uce58 \uacfc\uc815\uc744 \uc815\ub9ac\ud588\ub2e4. \uc774 \ud3ec\uc2a4\ud305\uc740\u2026","rel":"","context":"&quot;Tools &amp; Tips&quot;\uc5d0\uc11c","block_context":{"text":"Tools &amp; Tips","link":"https:\/\/litcoder.com\/?cat=6"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2020\/08\/img_0003-1.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2020\/08\/img_0003-1.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/litcoder.com\/wp-content\/uploads\/2020\/08\/img_0003-1.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2965,"url":"https:\/\/litcoder.com\/?p=2965","url_meta":{"origin":1767,"position":5},"title":"Docker\ub85c OpenGrok \uc124\uce58","author":"litcoder","date":"2021\ub144 3\uc6d4 14\uc77c","format":false,"excerpt":"\uc798 \uc4f0\uace0 \uc788\ub358 OpenGrok \uc11c\ubc84\uac00 \uac11\uc790\uae30 \ub9db\uc774 \uac00\ub294 \ubc14\ub78c\uc5d0 \ubd80\ub7b4\ubd80\ub7b4 \ub300\uc548\uc744 \ucc3e\uc544\uc57c \ud588\ub294\ub370 \ub9c8\ub545\ud55c \uc11c\ubc84\uac00 \uc5c6\uc5b4\uc11c \ub85c\uceec \uba38\uc2e0\uc5d0 Docker\ub85c \uc124\uce58\ud558\ub294 \ubc29\ubc95\uc744 \ucc3e\uc544 \ubcf4\uc558\ub2e4. \uc5ec\uae30 \uc18c\uac1c\ub41c \ub0b4\uc6a9\uc740 Docker Hub\uc5d0\uc11c \uc790\uc138\ud55c \uc124\uba85\uc744 \ucc3e\uc744 \uc218 \uc788\ub2e4. Docker\uac00 \uc124\uce58\ub418\uc5b4 \uc788\ub2e4\uba74 command\ucc3d\uc5d0\uc11c \ub2e4\uc74c\uc758 \uba85\ub839\uc73c\ub85c OpenGrok docker\ub97c pull\ud55c\ub2e4. docker pull opengrok\/docker Pulling\uc774 \ub05d\ub098\uba74 \ubaa9\uc801\uc5d0 \uc18c\uc2a4\uc640 indexing\uacb0\uacfc\uac00\u2026","rel":"","context":"&quot;Linux&quot;\uc5d0\uc11c","block_context":{"text":"Linux","link":"https:\/\/litcoder.com\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1767"}],"version-history":[{"count":1,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1767\/revisions"}],"predecessor-version":[{"id":2719,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1767\/revisions\/2719"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}