{"action":"closed","number":957,"pull_request":{"url":"https://api.github.com/repos/googledatalab/datalab/pulls/957","id":83318821,"html_url":"https://github.com/googledatalab/datalab/pull/957","diff_url":"https://github.com/googledatalab/datalab/pull/957.diff","patch_url":"https://github.com/googledatalab/datalab/pull/957.patch","issue_url":"https://api.github.com/repos/googledatalab/datalab/issues/957","number":957,"state":"closed","locked":false,"title":"Create the SSH tunnel as the logged in user rather than root.","user":{"login":"ojarjur","id":3039877,"avatar_url":"https://avatars.githubusercontent.com/u/3039877?v=3","gravatar_id":"","url":"https://api.github.com/users/ojarjur","html_url":"https://github.com/ojarjur","followers_url":"https://api.github.com/users/ojarjur/followers","following_url":"https://api.github.com/users/ojarjur/following{/other_user}","gists_url":"https://api.github.com/users/ojarjur/gists{/gist_id}","starred_url":"https://api.github.com/users/ojarjur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojarjur/subscriptions","organizations_url":"https://api.github.com/users/ojarjur/orgs","repos_url":"https://api.github.com/users/ojarjur/repos","events_url":"https://api.github.com/users/ojarjur/events{/privacy}","received_events_url":"https://api.github.com/users/ojarjur/received_events","type":"User","site_admin":false},"body":"By default, everything inside of the Docker container runs as the user\r\n'root'. Previously, we were setting up the SSH tunnel, we defaulted to\r\nthe user inside the VM matching the user inside the Docker\r\ncontainer. However, 'root' is special, and some VM images do not allow\r\nSSH-ing as that user.\r\n\r\nFor example, this prevented the Datalab image from being able to connect\r\nto a kernel gateway running inside of a Google Dataproc cluster.\r\n\r\nThis change fixes that be making the username inside of the VM match\r\nthe username of the logged-in account (e.g. \"<username>@gmail.com\").","created_at":"2016-08-30T18:05:42Z","updated_at":"2016-08-30T19:49:47Z","closed_at":"2016-08-30T19:49:46Z","merged_at":"2016-08-30T19:49:46Z","merge_commit_sha":"7e710faeb87f97f076a4403b7232e52c0b602063","assignee":{"login":"chmeyers","id":11337551,"avatar_url":"https://avatars.githubusercontent.com/u/11337551?v=3","gravatar_id":"","url":"https://api.github.com/users/chmeyers","html_url":"https://github.com/chmeyers","followers_url":"https://api.github.com/users/chmeyers/followers","following_url":"https://api.github.com/users/chmeyers/following{/other_user}","gists_url":"https://api.github.com/users/chmeyers/gists{/gist_id}","starred_url":"https://api.github.com/users/chmeyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmeyers/subscriptions","organizations_url":"https://api.github.com/users/chmeyers/orgs","repos_url":"https://api.github.com/users/chmeyers/repos","events_url":"https://api.github.com/users/chmeyers/events{/privacy}","received_events_url":"https://api.github.com/users/chmeyers/received_events","type":"User","site_admin":false},"assignees":[{"login":"chmeyers","id":11337551,"avatar_url":"https://avatars.githubusercontent.com/u/11337551?v=3","gravatar_id":"","url":"https://api.github.com/users/chmeyers","html_url":"https://github.com/chmeyers","followers_url":"https://api.github.com/users/chmeyers/followers","following_url":"https://api.github.com/users/chmeyers/following{/other_user}","gists_url":"https://api.github.com/users/chmeyers/gists{/gist_id}","starred_url":"https://api.github.com/users/chmeyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chmeyers/subscriptions","organizations_url":"https://api.github.com/users/chmeyers/orgs","repos_url":"https://api.github.com/users/chmeyers/repos","events_url":"https://api.github.com/users/chmeyers/events{/privacy}","received_events_url":"https://api.github.com/users/chmeyers/received_events","type":"User","site_admin":false},{"login":"qimingj","id":13439553,"avatar_url":"https://avatars.githubusercontent.com/u/13439553?v=3","gravatar_id":"","url":"https://api.github.com/users/qimingj","html_url":"https://github.com/qimingj","followers_url":"https://api.github.com/users/qimingj/followers","following_url":"https://api.github.com/users/qimingj/following{/other_user}","gists_url":"https://api.github.com/users/qimingj/gists{/gist_id}","starred_url":"https://api.github.com/users/qimingj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qimingj/subscriptions","organizations_url":"https://api.github.com/users/qimingj/orgs","repos_url":"https://api.github.com/users/qimingj/repos","events_url":"https://api.github.com/users/qimingj/events{/privacy}","received_events_url":"https://api.github.com/users/qimingj/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/googledatalab/datalab/pulls/957/commits","review_comments_url":"https://api.github.com/repos/googledatalab/datalab/pulls/957/comments","review_comment_url":"https://api.github.com/repos/googledatalab/datalab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googledatalab/datalab/issues/957/comments","statuses_url":"https://api.github.com/repos/googledatalab/datalab/statuses/5c316bd8c6003edfe9a70617878a4826a5c0e55a","head":{"label":"ojarjur:ojarjur/ssh-user","ref":"ojarjur/ssh-user","sha":"5c316bd8c6003edfe9a70617878a4826a5c0e55a","user":{"login":"ojarjur","id":3039877,"avatar_url":"https://avatars.githubusercontent.com/u/3039877?v=3","gravatar_id":"","url":"https://api.github.com/users/ojarjur","html_url":"https://github.com/ojarjur","followers_url":"https://api.github.com/users/ojarjur/followers","following_url":"https://api.github.com/users/ojarjur/following{/other_user}","gists_url":"https://api.github.com/users/ojarjur/gists{/gist_id}","starred_url":"https://api.github.com/users/ojarjur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojarjur/subscriptions","organizations_url":"https://api.github.com/users/ojarjur/orgs","repos_url":"https://api.github.com/users/ojarjur/repos","events_url":"https://api.github.com/users/ojarjur/events{/privacy}","received_events_url":"https://api.github.com/users/ojarjur/received_events","type":"User","site_admin":false},"repo":{"id":59162464,"name":"datalab","full_name":"ojarjur/datalab","owner":{"login":"ojarjur","id":3039877,"avatar_url":"https://avatars.githubusercontent.com/u/3039877?v=3","gravatar_id":"","url":"https://api.github.com/users/ojarjur","html_url":"https://github.com/ojarjur","followers_url":"https://api.github.com/users/ojarjur/followers","following_url":"https://api.github.com/users/ojarjur/following{/other_user}","gists_url":"https://api.github.com/users/ojarjur/gists{/gist_id}","starred_url":"https://api.github.com/users/ojarjur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojarjur/subscriptions","organizations_url":"https://api.github.com/users/ojarjur/orgs","repos_url":"https://api.github.com/users/ojarjur/repos","events_url":"https://api.github.com/users/ojarjur/events{/privacy}","received_events_url":"https://api.github.com/users/ojarjur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ojarjur/datalab","description":"Interactive tools and developer experiences for Big Data on Google Cloud Platform.","fork":true,"url":"https://api.github.com/repos/ojarjur/datalab","forks_url":"https://api.github.com/repos/ojarjur/datalab/forks","keys_url":"https://api.github.com/repos/ojarjur/datalab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojarjur/datalab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojarjur/datalab/teams","hooks_url":"https://api.github.com/repos/ojarjur/datalab/hooks","issue_events_url":"https://api.github.com/repos/ojarjur/datalab/issues/events{/number}","events_url":"https://api.github.com/repos/ojarjur/datalab/events","assignees_url":"https://api.github.com/repos/ojarjur/datalab/assignees{/user}","branches_url":"https://api.github.com/repos/ojarjur/datalab/branches{/branch}","tags_url":"https://api.github.com/repos/ojarjur/datalab/tags","blobs_url":"https://api.github.com/repos/ojarjur/datalab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojarjur/datalab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojarjur/datalab/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojarjur/datalab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojarjur/datalab/statuses/{sha}","languages_url":"https://api.github.com/repos/ojarjur/datalab/languages","stargazers_url":"https://api.github.com/repos/ojarjur/datalab/stargazers","contributors_url":"https://api.github.com/repos/ojarjur/datalab/contributors","subscribers_url":"https://api.github.com/repos/ojarjur/datalab/subscribers","subscription_url":"https://api.github.com/repos/ojarjur/datalab/subscription","commits_url":"https://api.github.com/repos/ojarjur/datalab/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojarjur/datalab/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojarjur/datalab/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojarjur/datalab/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojarjur/datalab/contents/{+path}","compare_url":"https://api.github.com/repos/ojarjur/datalab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojarjur/datalab/merges","archive_url":"https://api.github.com/repos/ojarjur/datalab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojarjur/datalab/downloads","issues_url":"https://api.github.com/repos/ojarjur/datalab/issues{/number}","pulls_url":"https://api.github.com/repos/ojarjur/datalab/pulls{/number}","milestones_url":"https://api.github.com/repos/ojarjur/datalab/milestones{/number}","notifications_url":"https://api.github.com/repos/ojarjur/datalab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojarjur/datalab/labels{/name}","releases_url":"https://api.github.com/repos/ojarjur/datalab/releases{/id}","deployments_url":"https://api.github.com/repos/ojarjur/datalab/deployments","created_at":"2016-05-19T01:03:40Z","updated_at":"2016-05-19T01:03:41Z","pushed_at":"2016-08-30T18:28:25Z","git_url":"git://github.com/ojarjur/datalab.git","ssh_url":"git@github.com:ojarjur/datalab.git","clone_url":"https://github.com/ojarjur/datalab.git","svn_url":"https://github.com/ojarjur/datalab","homepage":"","size":183312,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","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":"googledatalab:master","ref":"master","sha":"e5fbe3071df981f46dad57317e9bce2ece430828","user":{"login":"googledatalab","id":18582876,"avatar_url":"https://avatars.githubusercontent.com/u/18582876?v=3","gravatar_id":"","url":"https://api.github.com/users/googledatalab","html_url":"https://github.com/googledatalab","followers_url":"https://api.github.com/users/googledatalab/followers","following_url":"https://api.github.com/users/googledatalab/following{/other_user}","gists_url":"https://api.github.com/users/googledatalab/gists{/gist_id}","starred_url":"https://api.github.com/users/googledatalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googledatalab/subscriptions","organizations_url":"https://api.github.com/users/googledatalab/orgs","repos_url":"https://api.github.com/users/googledatalab/repos","events_url":"https://api.github.com/users/googledatalab/events{/privacy}","received_events_url":"https://api.github.com/users/googledatalab/received_events","type":"Organization","site_admin":false},"repo":{"id":22693761,"name":"datalab","full_name":"googledatalab/datalab","owner":{"login":"googledatalab","id":18582876,"avatar_url":"https://avatars.githubusercontent.com/u/18582876?v=3","gravatar_id":"","url":"https://api.github.com/users/googledatalab","html_url":"https://github.com/googledatalab","followers_url":"https://api.github.com/users/googledatalab/followers","following_url":"https://api.github.com/users/googledatalab/following{/other_user}","gists_url":"https://api.github.com/users/googledatalab/gists{/gist_id}","starred_url":"https://api.github.com/users/googledatalab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googledatalab/subscriptions","organizations_url":"https://api.github.com/users/googledatalab/orgs","repos_url":"https://api.github.com/users/googledatalab/repos","events_url":"https://api.github.com/users/googledatalab/events{/privacy}","received_events_url":"https://api.github.com/users/googledatalab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googledatalab/datalab","description":"Interactive tools and developer experiences for Big Data on Google Cloud Platform.","fork":false,"url":"https://api.github.com/repos/googledatalab/datalab","forks_url":"https://api.github.com/repos/googledatalab/datalab/forks","keys_url":"https://api.github.com/repos/googledatalab/datalab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googledatalab/datalab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googledatalab/datalab/teams","hooks_url":"https://api.github.com/repos/googledatalab/datalab/hooks","issue_events_url":"https://api.github.com/repos/googledatalab/datalab/issues/events{/number}","events_url":"https://api.github.com/repos/googledatalab/datalab/events","assignees_url":"https://api.github.com/repos/googledatalab/datalab/assignees{/user}","branches_url":"https://api.github.com/repos/googledatalab/datalab/branches{/branch}","tags_url":"https://api.github.com/repos/googledatalab/datalab/tags","blobs_url":"https://api.github.com/repos/googledatalab/datalab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googledatalab/datalab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googledatalab/datalab/git/refs{/sha}","trees_url":"https://api.github.com/repos/googledatalab/datalab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googledatalab/datalab/statuses/{sha}","languages_url":"https://api.github.com/repos/googledatalab/datalab/languages","stargazers_url":"https://api.github.com/repos/googledatalab/datalab/stargazers","contributors_url":"https://api.github.com/repos/googledatalab/datalab/contributors","subscribers_url":"https://api.github.com/repos/googledatalab/datalab/subscribers","subscription_url":"https://api.github.com/repos/googledatalab/datalab/subscription","commits_url":"https://api.github.com/repos/googledatalab/datalab/commits{/sha}","git_commits_url":"https://api.github.com/repos/googledatalab/datalab/git/commits{/sha}","comments_url":"https://api.github.com/repos/googledatalab/datalab/comments{/number}","issue_comment_url":"https://api.github.com/repos/googledatalab/datalab/issues/comments{/number}","contents_url":"https://api.github.com/repos/googledatalab/datalab/contents/{+path}","compare_url":"https://api.github.com/repos/googledatalab/datalab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googledatalab/datalab/merges","archive_url":"https://api.github.com/repos/googledatalab/datalab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googledatalab/datalab/downloads","issues_url":"https://api.github.com/repos/googledatalab/datalab/issues{/number}","pulls_url":"https://api.github.com/repos/googledatalab/datalab/pulls{/number}","milestones_url":"https://api.github.com/repos/googledatalab/datalab/milestones{/number}","notifications_url":"https://api.github.com/repos/googledatalab/datalab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googledatalab/datalab/labels{/name}","releases_url":"https://api.github.com/repos/googledatalab/datalab/releases{/id}","deployments_url":"https://api.github.com/repos/googledatalab/datalab/deployments","created_at":"2014-08-06T18:37:34Z","updated_at":"2016-08-30T12:38:51Z","pushed_at":"2016-08-30T19:49:46Z","git_url":"git://github.com/googledatalab/datalab.git","ssh_url":"git@github.com:googledatalab/datalab.git","clone_url":"https://github.com/googledatalab/datalab.git","svn_url":"https://github.com/googledatalab/datalab","homepage":"","size":185083,"stargazers_count":302,"watchers_count":302,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":121,"forks":71,"open_issues":121,"watchers":302,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googledatalab/datalab/pulls/957"},"html":{"href":"https://github.com/googledatalab/datalab/pull/957"},"issue":{"href":"https://api.github.com/repos/googledatalab/datalab/issues/957"},"comments":{"href":"https://api.github.com/repos/googledatalab/datalab/issues/957/comments"},"review_comments":{"href":"https://api.github.com/repos/googledatalab/datalab/pulls/957/comments"},"review_comment":{"href":"https://api.github.com/repos/googledatalab/datalab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googledatalab/datalab/pulls/957/commits"},"statuses":{"href":"https://api.github.com/repos/googledatalab/datalab/statuses/5c316bd8c6003edfe9a70617878a4826a5c0e55a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ojarjur","id":3039877,"avatar_url":"https://avatars.githubusercontent.com/u/3039877?v=3","gravatar_id":"","url":"https://api.github.com/users/ojarjur","html_url":"https://github.com/ojarjur","followers_url":"https://api.github.com/users/ojarjur/followers","following_url":"https://api.github.com/users/ojarjur/following{/other_user}","gists_url":"https://api.github.com/users/ojarjur/gists{/gist_id}","starred_url":"https://api.github.com/users/ojarjur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojarjur/subscriptions","organizations_url":"https://api.github.com/users/ojarjur/orgs","repos_url":"https://api.github.com/users/ojarjur/repos","events_url":"https://api.github.com/users/ojarjur/events{/privacy}","received_events_url":"https://api.github.com/users/ojarjur/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":2,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"ojarjur"}}