{"action":"created","comment":{"url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/comments/44583939","id":44583939,"diff_hunk":"@@ -0,0 +1,38 @@\n+#!/bin/bash\n+\n+# Adds users to the getter group with a random password, outputting\n+# an invite code for each. This is just for prototyping purposes\n+# while we iron out issues with key-based authentication in the client.\n+\n+set -e\n+\n+# Beautiful cross-platform one-liner cogged from:\n+#   http://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-bash\n+PUBLIC_IP=`dig +short myip.opendns.com @resolver1.opendns.com`","path":"sshd/add_getter.sh","position":11,"original_position":11,"commit_id":"f1b765c2d1d9d7c28a2e221ef526b2d3e3869478","original_commit_id":"f1b765c2d1d9d7c28a2e221ef526b2d3e3869478","user":{"login":"mollyling","id":4954150,"avatar_url":"https://avatars.githubusercontent.com/u/4954150?v=3","gravatar_id":"","url":"https://api.github.com/users/mollyling","html_url":"https://github.com/mollyling","followers_url":"https://api.github.com/users/mollyling/followers","following_url":"https://api.github.com/users/mollyling/following{/other_user}","gists_url":"https://api.github.com/users/mollyling/gists{/gist_id}","starred_url":"https://api.github.com/users/mollyling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mollyling/subscriptions","organizations_url":"https://api.github.com/users/mollyling/orgs","repos_url":"https://api.github.com/users/mollyling/repos","events_url":"https://api.github.com/users/mollyling/events{/privacy}","received_events_url":"https://api.github.com/users/mollyling/received_events","type":"User","site_admin":false},"body":"I like this!","created_at":"2015-11-11T20:47:12Z","updated_at":"2015-11-11T20:47:12Z","html_url":"https://github.com/uProxy/uproxy-docker/pull/31#discussion_r44583939","pull_request_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/comments/44583939"},"html":{"href":"https://github.com/uProxy/uproxy-docker/pull/31#discussion_r44583939"},"pull_request":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31","id":50418720,"html_url":"https://github.com/uProxy/uproxy-docker/pull/31","diff_url":"https://github.com/uProxy/uproxy-docker/pull/31.diff","patch_url":"https://github.com/uProxy/uproxy-docker/pull/31.patch","issue_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/31","number":31,"state":"open","locked":false,"title":"a script to create a cloud instance","user":{"login":"trevj","id":5142116,"avatar_url":"https://avatars.githubusercontent.com/u/5142116?v=3","gravatar_id":"","url":"https://api.github.com/users/trevj","html_url":"https://github.com/trevj","followers_url":"https://api.github.com/users/trevj/followers","following_url":"https://api.github.com/users/trevj/following{/other_user}","gists_url":"https://api.github.com/users/trevj/gists{/gist_id}","starred_url":"https://api.github.com/users/trevj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevj/subscriptions","organizations_url":"https://api.github.com/users/trevj/orgs","repos_url":"https://api.github.com/users/trevj/repos","events_url":"https://api.github.com/users/trevj/events{/privacy}","received_events_url":"https://api.github.com/users/trevj/received_events","type":"User","site_admin":false},"body":"This script, `run_cloud.sh`, spins up a uProxy cloud instance. Right now, that means a pair of Docker containers: one runs sshd, the other Zork. The upcoming cloud social provider knows how to contact the SSH server and establish a secure tunnel through to Zork.\r\n\r\nRough guide:\r\n 1. `run_cloud.sh`\r\n 1. sshd image, with scripts to manage invite codes\r\n\r\nPretty basic stuff right now, and not terribly use friendly -- the plan is that the cloud social provider will be able to invoke this on the user's behalf.\r\n\r\nI'm keeping instructions here:\r\nhttps://docs.google.com/document/d/1nMSwG5CJSxUMu9EwA1sjwrVUGWrUYQksmLM8JAwjp04/view","created_at":"2015-11-11T18:35:37Z","updated_at":"2015-11-11T20:47:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10df431259222c5205309c4d18b89855397c0d7b","assignee":{"login":"mollyling","id":4954150,"avatar_url":"https://avatars.githubusercontent.com/u/4954150?v=3","gravatar_id":"","url":"https://api.github.com/users/mollyling","html_url":"https://github.com/mollyling","followers_url":"https://api.github.com/users/mollyling/followers","following_url":"https://api.github.com/users/mollyling/following{/other_user}","gists_url":"https://api.github.com/users/mollyling/gists{/gist_id}","starred_url":"https://api.github.com/users/mollyling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mollyling/subscriptions","organizations_url":"https://api.github.com/users/mollyling/orgs","repos_url":"https://api.github.com/users/mollyling/repos","events_url":"https://api.github.com/users/mollyling/events{/privacy}","received_events_url":"https://api.github.com/users/mollyling/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31/commits","review_comments_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31/comments","review_comment_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/31/comments","statuses_url":"https://api.github.com/repos/uProxy/uproxy-docker/statuses/f1b765c2d1d9d7c28a2e221ef526b2d3e3869478","head":{"label":"uProxy:trevj-social-cloud","ref":"trevj-social-cloud","sha":"f1b765c2d1d9d7c28a2e221ef526b2d3e3869478","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":27145384,"name":"uproxy-docker","full_name":"uProxy/uproxy-docker","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/uproxy-docker","description":"Docker images for testing and deployment","fork":false,"url":"https://api.github.com/repos/uProxy/uproxy-docker","forks_url":"https://api.github.com/repos/uProxy/uproxy-docker/forks","keys_url":"https://api.github.com/repos/uProxy/uproxy-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/uproxy-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/uproxy-docker/teams","hooks_url":"https://api.github.com/repos/uProxy/uproxy-docker/hooks","issue_events_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/uproxy-docker/events","assignees_url":"https://api.github.com/repos/uProxy/uproxy-docker/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/uproxy-docker/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/uproxy-docker/tags","blobs_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/uproxy-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/uproxy-docker/languages","stargazers_url":"https://api.github.com/repos/uProxy/uproxy-docker/stargazers","contributors_url":"https://api.github.com/repos/uProxy/uproxy-docker/contributors","subscribers_url":"https://api.github.com/repos/uProxy/uproxy-docker/subscribers","subscription_url":"https://api.github.com/repos/uProxy/uproxy-docker/subscription","commits_url":"https://api.github.com/repos/uProxy/uproxy-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/uproxy-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/uproxy-docker/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/uproxy-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/uproxy-docker/merges","archive_url":"https://api.github.com/repos/uProxy/uproxy-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/uproxy-docker/downloads","issues_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/uproxy-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/uproxy-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/uproxy-docker/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/uproxy-docker/releases{/id}","created_at":"2014-11-25T20:49:20Z","updated_at":"2015-11-10T04:10:12Z","pushed_at":"2015-11-11T18:35:38Z","git_url":"git://github.com/uProxy/uproxy-docker.git","ssh_url":"git@github.com:uProxy/uproxy-docker.git","clone_url":"https://github.com/uProxy/uproxy-docker.git","svn_url":"https://github.com/uProxy/uproxy-docker","homepage":null,"size":513,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"base":{"label":"uProxy:master","ref":"master","sha":"f6c84fd66dc8eca61e79e1f3b8d884c1516f1386","user":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"repo":{"id":27145384,"name":"uproxy-docker","full_name":"uProxy/uproxy-docker","owner":{"login":"uProxy","id":6548286,"avatar_url":"https://avatars.githubusercontent.com/u/6548286?v=3","gravatar_id":"","url":"https://api.github.com/users/uProxy","html_url":"https://github.com/uProxy","followers_url":"https://api.github.com/users/uProxy/followers","following_url":"https://api.github.com/users/uProxy/following{/other_user}","gists_url":"https://api.github.com/users/uProxy/gists{/gist_id}","starred_url":"https://api.github.com/users/uProxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uProxy/subscriptions","organizations_url":"https://api.github.com/users/uProxy/orgs","repos_url":"https://api.github.com/users/uProxy/repos","events_url":"https://api.github.com/users/uProxy/events{/privacy}","received_events_url":"https://api.github.com/users/uProxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uProxy/uproxy-docker","description":"Docker images for testing and deployment","fork":false,"url":"https://api.github.com/repos/uProxy/uproxy-docker","forks_url":"https://api.github.com/repos/uProxy/uproxy-docker/forks","keys_url":"https://api.github.com/repos/uProxy/uproxy-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uProxy/uproxy-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uProxy/uproxy-docker/teams","hooks_url":"https://api.github.com/repos/uProxy/uproxy-docker/hooks","issue_events_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/events{/number}","events_url":"https://api.github.com/repos/uProxy/uproxy-docker/events","assignees_url":"https://api.github.com/repos/uProxy/uproxy-docker/assignees{/user}","branches_url":"https://api.github.com/repos/uProxy/uproxy-docker/branches{/branch}","tags_url":"https://api.github.com/repos/uProxy/uproxy-docker/tags","blobs_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uProxy/uproxy-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/uProxy/uproxy-docker/languages","stargazers_url":"https://api.github.com/repos/uProxy/uproxy-docker/stargazers","contributors_url":"https://api.github.com/repos/uProxy/uproxy-docker/contributors","subscribers_url":"https://api.github.com/repos/uProxy/uproxy-docker/subscribers","subscription_url":"https://api.github.com/repos/uProxy/uproxy-docker/subscription","commits_url":"https://api.github.com/repos/uProxy/uproxy-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/uProxy/uproxy-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/uProxy/uproxy-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/uProxy/uproxy-docker/contents/{+path}","compare_url":"https://api.github.com/repos/uProxy/uproxy-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uProxy/uproxy-docker/merges","archive_url":"https://api.github.com/repos/uProxy/uproxy-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uProxy/uproxy-docker/downloads","issues_url":"https://api.github.com/repos/uProxy/uproxy-docker/issues{/number}","pulls_url":"https://api.github.com/repos/uProxy/uproxy-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/uProxy/uproxy-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/uProxy/uproxy-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uProxy/uproxy-docker/labels{/name}","releases_url":"https://api.github.com/repos/uProxy/uproxy-docker/releases{/id}","created_at":"2014-11-25T20:49:20Z","updated_at":"2015-11-10T04:10:12Z","pushed_at":"2015-11-11T18:35:38Z","git_url":"git://github.com/uProxy/uproxy-docker.git","ssh_url":"git@github.com:uProxy/uproxy-docker.git","clone_url":"https://github.com/uProxy/uproxy-docker.git","svn_url":"https://github.com/uProxy/uproxy-docker","homepage":null,"size":513,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31"},"html":{"href":"https://github.com/uProxy/uproxy-docker/pull/31"},"issue":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/issues/31"},"comments":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/uProxy/uproxy-docker/statuses/f1b765c2d1d9d7c28a2e221ef526b2d3e3869478"}}}}