{"action":"closed","number":3763,"pull_request":{"url":"https://api.github.com/repos/gogits/gogs/pulls/3763","id":89193288,"html_url":"https://github.com/gogits/gogs/pull/3763","diff_url":"https://github.com/gogits/gogs/pull/3763.diff","patch_url":"https://github.com/gogits/gogs/pull/3763.patch","issue_url":"https://api.github.com/repos/gogits/gogs/issues/3763","number":3763,"state":"closed","locked":false,"title":"New settings option for a custom SSH host","user":{"login":"imilo","id":8048912,"avatar_url":"https://avatars.githubusercontent.com/u/8048912?v=3","gravatar_id":"","url":"https://api.github.com/users/imilo","html_url":"https://github.com/imilo","followers_url":"https://api.github.com/users/imilo/followers","following_url":"https://api.github.com/users/imilo/following{/other_user}","gists_url":"https://api.github.com/users/imilo/gists{/gist_id}","starred_url":"https://api.github.com/users/imilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imilo/subscriptions","organizations_url":"https://api.github.com/users/imilo/orgs","repos_url":"https://api.github.com/users/imilo/repos","events_url":"https://api.github.com/users/imilo/events{/privacy}","received_events_url":"https://api.github.com/users/imilo/received_events","type":"User","site_admin":false},"body":"Mostly security reasons.\n\nThere should be an option to make a builtin SSH server listen on the specified network interface. Currently it uses **0.0.0.0** only. If somebody has several network interfaces: to the Internet, to the intranet, to the localhost etc. - Gogs shouldn't open a service to the Internet without any options.\n\nYou could say \"There is no shell\", but it is still a service and every service potentially is vulnerable.\n\nI've added some code changes to make it configurable and **0.0.0.0** by default like HTTP server.\n","created_at":"2016-10-13T12:36:41Z","updated_at":"2016-12-21T08:46:55Z","closed_at":"2016-12-21T08:46:55Z","merged_at":"2016-12-21T08:46:55Z","merge_commit_sha":"85fbd6e9c6e90ea998719d0d40ddfb71affd9a05","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gogits/gogs/pulls/3763/commits","review_comments_url":"https://api.github.com/repos/gogits/gogs/pulls/3763/comments","review_comment_url":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/3763/comments","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/12b406bfe92041f1e2d213a1bf8981ea00d27852","head":{"label":"imilo:custom-ssh-host","ref":"custom-ssh-host","sha":"12b406bfe92041f1e2d213a1bf8981ea00d27852","user":{"login":"imilo","id":8048912,"avatar_url":"https://avatars.githubusercontent.com/u/8048912?v=3","gravatar_id":"","url":"https://api.github.com/users/imilo","html_url":"https://github.com/imilo","followers_url":"https://api.github.com/users/imilo/followers","following_url":"https://api.github.com/users/imilo/following{/other_user}","gists_url":"https://api.github.com/users/imilo/gists{/gist_id}","starred_url":"https://api.github.com/users/imilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imilo/subscriptions","organizations_url":"https://api.github.com/users/imilo/orgs","repos_url":"https://api.github.com/users/imilo/repos","events_url":"https://api.github.com/users/imilo/events{/privacy}","received_events_url":"https://api.github.com/users/imilo/received_events","type":"User","site_admin":false},"repo":{"id":70784941,"name":"gogs","full_name":"imilo/gogs","owner":{"login":"imilo","id":8048912,"avatar_url":"https://avatars.githubusercontent.com/u/8048912?v=3","gravatar_id":"","url":"https://api.github.com/users/imilo","html_url":"https://github.com/imilo","followers_url":"https://api.github.com/users/imilo/followers","following_url":"https://api.github.com/users/imilo/following{/other_user}","gists_url":"https://api.github.com/users/imilo/gists{/gist_id}","starred_url":"https://api.github.com/users/imilo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imilo/subscriptions","organizations_url":"https://api.github.com/users/imilo/orgs","repos_url":"https://api.github.com/users/imilo/repos","events_url":"https://api.github.com/users/imilo/events{/privacy}","received_events_url":"https://api.github.com/users/imilo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/imilo/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":true,"url":"https://api.github.com/repos/imilo/gogs","forks_url":"https://api.github.com/repos/imilo/gogs/forks","keys_url":"https://api.github.com/repos/imilo/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/imilo/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/imilo/gogs/teams","hooks_url":"https://api.github.com/repos/imilo/gogs/hooks","issue_events_url":"https://api.github.com/repos/imilo/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/imilo/gogs/events","assignees_url":"https://api.github.com/repos/imilo/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/imilo/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/imilo/gogs/tags","blobs_url":"https://api.github.com/repos/imilo/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/imilo/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/imilo/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/imilo/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/imilo/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/imilo/gogs/languages","stargazers_url":"https://api.github.com/repos/imilo/gogs/stargazers","contributors_url":"https://api.github.com/repos/imilo/gogs/contributors","subscribers_url":"https://api.github.com/repos/imilo/gogs/subscribers","subscription_url":"https://api.github.com/repos/imilo/gogs/subscription","commits_url":"https://api.github.com/repos/imilo/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/imilo/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/imilo/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/imilo/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/imilo/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/imilo/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/imilo/gogs/merges","archive_url":"https://api.github.com/repos/imilo/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/imilo/gogs/downloads","issues_url":"https://api.github.com/repos/imilo/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/imilo/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/imilo/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/imilo/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/imilo/gogs/labels{/name}","releases_url":"https://api.github.com/repos/imilo/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/imilo/gogs/deployments","created_at":"2016-10-13T08:22:39Z","updated_at":"2016-10-13T08:22:42Z","pushed_at":"2016-10-13T12:20:24Z","git_url":"git://github.com/imilo/gogs.git","ssh_url":"git@github.com:imilo/gogs.git","clone_url":"https://github.com/imilo/gogs.git","svn_url":"https://github.com/imilo/gogs","homepage":"https://gogs.io","size":77811,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gogits:develop","ref":"develop","sha":"2bec8a4f1ef6b48220a0010c1482e561abd55810","user":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"repo":{"id":16752620,"name":"gogs","full_name":"gogits/gogs","owner":{"login":"gogits","id":6656686,"avatar_url":"https://avatars.githubusercontent.com/u/6656686?v=3","gravatar_id":"","url":"https://api.github.com/users/gogits","html_url":"https://github.com/gogits","followers_url":"https://api.github.com/users/gogits/followers","following_url":"https://api.github.com/users/gogits/following{/other_user}","gists_url":"https://api.github.com/users/gogits/gists{/gist_id}","starred_url":"https://api.github.com/users/gogits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogits/subscriptions","organizations_url":"https://api.github.com/users/gogits/orgs","repos_url":"https://api.github.com/users/gogits/repos","events_url":"https://api.github.com/users/gogits/events{/privacy}","received_events_url":"https://api.github.com/users/gogits/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogits/gogs","description":"Gogs (Go Git Service) is a painless self-hosted Git service.","fork":false,"url":"https://api.github.com/repos/gogits/gogs","forks_url":"https://api.github.com/repos/gogits/gogs/forks","keys_url":"https://api.github.com/repos/gogits/gogs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogits/gogs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogits/gogs/teams","hooks_url":"https://api.github.com/repos/gogits/gogs/hooks","issue_events_url":"https://api.github.com/repos/gogits/gogs/issues/events{/number}","events_url":"https://api.github.com/repos/gogits/gogs/events","assignees_url":"https://api.github.com/repos/gogits/gogs/assignees{/user}","branches_url":"https://api.github.com/repos/gogits/gogs/branches{/branch}","tags_url":"https://api.github.com/repos/gogits/gogs/tags","blobs_url":"https://api.github.com/repos/gogits/gogs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogits/gogs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogits/gogs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogits/gogs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogits/gogs/statuses/{sha}","languages_url":"https://api.github.com/repos/gogits/gogs/languages","stargazers_url":"https://api.github.com/repos/gogits/gogs/stargazers","contributors_url":"https://api.github.com/repos/gogits/gogs/contributors","subscribers_url":"https://api.github.com/repos/gogits/gogs/subscribers","subscription_url":"https://api.github.com/repos/gogits/gogs/subscription","commits_url":"https://api.github.com/repos/gogits/gogs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogits/gogs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogits/gogs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogits/gogs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogits/gogs/contents/{+path}","compare_url":"https://api.github.com/repos/gogits/gogs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogits/gogs/merges","archive_url":"https://api.github.com/repos/gogits/gogs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogits/gogs/downloads","issues_url":"https://api.github.com/repos/gogits/gogs/issues{/number}","pulls_url":"https://api.github.com/repos/gogits/gogs/pulls{/number}","milestones_url":"https://api.github.com/repos/gogits/gogs/milestones{/number}","notifications_url":"https://api.github.com/repos/gogits/gogs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogits/gogs/labels{/name}","releases_url":"https://api.github.com/repos/gogits/gogs/releases{/id}","deployments_url":"https://api.github.com/repos/gogits/gogs/deployments","created_at":"2014-02-12T01:57:08Z","updated_at":"2016-12-21T08:25:46Z","pushed_at":"2016-12-21T08:46:55Z","git_url":"git://github.com/gogits/gogs.git","ssh_url":"git@github.com:gogits/gogs.git","clone_url":"https://github.com/gogits/gogs.git","svn_url":"https://github.com/gogits/gogs","homepage":"https://gogs.io","size":82873,"stargazers_count":16906,"watchers_count":16906,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1910,"mirror_url":null,"open_issues_count":627,"forks":1910,"open_issues":627,"watchers":16906,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3763"},"html":{"href":"https://github.com/gogits/gogs/pull/3763"},"issue":{"href":"https://api.github.com/repos/gogits/gogs/issues/3763"},"comments":{"href":"https://api.github.com/repos/gogits/gogs/issues/3763/comments"},"review_comments":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3763/comments"},"review_comment":{"href":"https://api.github.com/repos/gogits/gogs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogits/gogs/pulls/3763/commits"},"statuses":{"href":"https://api.github.com/repos/gogits/gogs/statuses/12b406bfe92041f1e2d213a1bf8981ea00d27852"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":7,"changed_files":4}}
{"actor":{"display_login":"Unknwon"}}