{"action":"created","comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/129198272","pull_request_review_id":51944927,"id":129198272,"diff_hunk":"@@ -457,6 +467,123 @@ sub connectTopdu {\n \n }\n \n+sub process_sshcfg { \n+    my $noderange = shift;\n+    my $subcmd = shift;\n+    my $callback = shift;\n+\n+    my $password = \"password8\";","path":"xCAT-server/lib/xcat/plugins/pdu.pm","position":40,"original_position":40,"commit_id":"de9b4b575fcd625163a00c0c10003f48ca23e647","original_commit_id":"de9b4b575fcd625163a00c0c10003f48ca23e647","user":{"login":"zet809","id":8222144,"avatar_url":"https://avatars2.githubusercontent.com/u/8222144?v=4","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"body":"The default password for PDU?\r\nDo we have any table to store PDU account other than root?","created_at":"2017-07-25T02:12:20Z","updated_at":"2017-07-25T02:39:29Z","html_url":"https://github.com/xcat2/xcat-core/pull/3529#discussion_r129198272","pull_request_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529","_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments/129198272"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/3529#discussion_r129198272"},"pull_request":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529"}}},"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529","id":132062791,"html_url":"https://github.com/xcat2/xcat-core/pull/3529","diff_url":"https://github.com/xcat2/xcat-core/pull/3529.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/3529.patch","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/3529","number":3529,"state":"open","locked":false,"title":"Support passwordless ssh for pdu","user":{"login":"cxhong","id":12398836,"avatar_url":"https://avatars2.githubusercontent.com/u/12398836?v=4","gravatar_id":"","url":"https://api.github.com/users/cxhong","html_url":"https://github.com/cxhong","followers_url":"https://api.github.com/users/cxhong/followers","following_url":"https://api.github.com/users/cxhong/following{/other_user}","gists_url":"https://api.github.com/users/cxhong/gists{/gist_id}","starred_url":"https://api.github.com/users/cxhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxhong/subscriptions","organizations_url":"https://api.github.com/users/cxhong/orgs","repos_url":"https://api.github.com/users/cxhong/repos","events_url":"https://api.github.com/users/cxhong/events{/privacy}","received_events_url":"https://api.github.com/users/cxhong/received_events","type":"User","site_admin":false},"body":"for Epic #3516 ,   use rspconfig command to config ssh passwordless for PDU\r\nusage:\r\n\r\n```\r\n#rspconfig c685f2coralpdu sshcfg\r\n# ssh c685f2coralpdu\r\nWarning: Permanently added 'c685f2coralpdu' (ECDSA) to the list of known hosts.\r\nLast login: Sun Jan 15 00:16:43 2017 from 172.10.1.5\r\nroot@c685f2coralpdu:~#\r\n\r\n```","created_at":"2017-07-24T14:24:49Z","updated_at":"2017-07-25T02:39:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8be4598be16ff7ced6be3b7c8dda2481d9d1b0a1","assignee":{"login":"zet809","id":8222144,"avatar_url":"https://avatars2.githubusercontent.com/u/8222144?v=4","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"assignees":[{"login":"zet809","id":8222144,"avatar_url":"https://avatars2.githubusercontent.com/u/8222144?v=4","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/29","html_url":"https://github.com/xcat2/xcat-core/milestone/29","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/29/labels","id":2381924,"number":29,"title":"2.13.6","description":"","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars0.githubusercontent.com/u/10049070?v=4","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":87,"closed_issues":102,"state":"open","created_at":"2017-03-13T13:27:21Z","updated_at":"2017-07-25T02:08:11Z","due_on":"2017-08-11T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529/commits","review_comments_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529/comments","review_comment_url":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/3529/comments","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/de9b4b575fcd625163a00c0c10003f48ca23e647","head":{"label":"cxhong:pdussh","ref":"pdussh","sha":"de9b4b575fcd625163a00c0c10003f48ca23e647","user":{"login":"cxhong","id":12398836,"avatar_url":"https://avatars2.githubusercontent.com/u/12398836?v=4","gravatar_id":"","url":"https://api.github.com/users/cxhong","html_url":"https://github.com/cxhong","followers_url":"https://api.github.com/users/cxhong/followers","following_url":"https://api.github.com/users/cxhong/following{/other_user}","gists_url":"https://api.github.com/users/cxhong/gists{/gist_id}","starred_url":"https://api.github.com/users/cxhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxhong/subscriptions","organizations_url":"https://api.github.com/users/cxhong/orgs","repos_url":"https://api.github.com/users/cxhong/repos","events_url":"https://api.github.com/users/cxhong/events{/privacy}","received_events_url":"https://api.github.com/users/cxhong/received_events","type":"User","site_admin":false},"repo":{"id":41100712,"name":"xcat-core","full_name":"cxhong/xcat-core","owner":{"login":"cxhong","id":12398836,"avatar_url":"https://avatars2.githubusercontent.com/u/12398836?v=4","gravatar_id":"","url":"https://api.github.com/users/cxhong","html_url":"https://github.com/cxhong","followers_url":"https://api.github.com/users/cxhong/followers","following_url":"https://api.github.com/users/cxhong/following{/other_user}","gists_url":"https://api.github.com/users/cxhong/gists{/gist_id}","starred_url":"https://api.github.com/users/cxhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cxhong/subscriptions","organizations_url":"https://api.github.com/users/cxhong/orgs","repos_url":"https://api.github.com/users/cxhong/repos","events_url":"https://api.github.com/users/cxhong/events{/privacy}","received_events_url":"https://api.github.com/users/cxhong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cxhong/xcat-core","description":"Code repo for xCAT core packages","fork":true,"url":"https://api.github.com/repos/cxhong/xcat-core","forks_url":"https://api.github.com/repos/cxhong/xcat-core/forks","keys_url":"https://api.github.com/repos/cxhong/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cxhong/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cxhong/xcat-core/teams","hooks_url":"https://api.github.com/repos/cxhong/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/cxhong/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/cxhong/xcat-core/events","assignees_url":"https://api.github.com/repos/cxhong/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/cxhong/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/cxhong/xcat-core/tags","blobs_url":"https://api.github.com/repos/cxhong/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cxhong/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cxhong/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/cxhong/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cxhong/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/cxhong/xcat-core/languages","stargazers_url":"https://api.github.com/repos/cxhong/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/cxhong/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/cxhong/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/cxhong/xcat-core/subscription","commits_url":"https://api.github.com/repos/cxhong/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/cxhong/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/cxhong/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/cxhong/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/cxhong/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/cxhong/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cxhong/xcat-core/merges","archive_url":"https://api.github.com/repos/cxhong/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cxhong/xcat-core/downloads","issues_url":"https://api.github.com/repos/cxhong/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/cxhong/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/cxhong/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/cxhong/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cxhong/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/cxhong/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/cxhong/xcat-core/deployments","created_at":"2015-08-20T14:36:07Z","updated_at":"2016-01-15T23:03:44Z","pushed_at":"2017-07-24T14:19:14Z","git_url":"git://github.com/cxhong/xcat-core.git","ssh_url":"git@github.com:cxhong/xcat-core.git","clone_url":"https://github.com/cxhong/xcat-core.git","svn_url":"https://github.com/cxhong/xcat-core","homepage":null,"size":191239,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_projects":true,"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":"xcat2:master","ref":"master","sha":"376f1b723d1168d44938cf17f7fb5592454c8719","user":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"repo":{"id":27747508,"name":"xcat-core","full_name":"xcat2/xcat-core","owner":{"login":"xcat2","id":10124414,"avatar_url":"https://avatars3.githubusercontent.com/u/10124414?v=4","gravatar_id":"","url":"https://api.github.com/users/xcat2","html_url":"https://github.com/xcat2","followers_url":"https://api.github.com/users/xcat2/followers","following_url":"https://api.github.com/users/xcat2/following{/other_user}","gists_url":"https://api.github.com/users/xcat2/gists{/gist_id}","starred_url":"https://api.github.com/users/xcat2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcat2/subscriptions","organizations_url":"https://api.github.com/users/xcat2/orgs","repos_url":"https://api.github.com/users/xcat2/repos","events_url":"https://api.github.com/users/xcat2/events{/privacy}","received_events_url":"https://api.github.com/users/xcat2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xcat2/xcat-core","description":"Code repo for xCAT core packages","fork":false,"url":"https://api.github.com/repos/xcat2/xcat-core","forks_url":"https://api.github.com/repos/xcat2/xcat-core/forks","keys_url":"https://api.github.com/repos/xcat2/xcat-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xcat2/xcat-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xcat2/xcat-core/teams","hooks_url":"https://api.github.com/repos/xcat2/xcat-core/hooks","issue_events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/events{/number}","events_url":"https://api.github.com/repos/xcat2/xcat-core/events","assignees_url":"https://api.github.com/repos/xcat2/xcat-core/assignees{/user}","branches_url":"https://api.github.com/repos/xcat2/xcat-core/branches{/branch}","tags_url":"https://api.github.com/repos/xcat2/xcat-core/tags","blobs_url":"https://api.github.com/repos/xcat2/xcat-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xcat2/xcat-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xcat2/xcat-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/xcat2/xcat-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xcat2/xcat-core/statuses/{sha}","languages_url":"https://api.github.com/repos/xcat2/xcat-core/languages","stargazers_url":"https://api.github.com/repos/xcat2/xcat-core/stargazers","contributors_url":"https://api.github.com/repos/xcat2/xcat-core/contributors","subscribers_url":"https://api.github.com/repos/xcat2/xcat-core/subscribers","subscription_url":"https://api.github.com/repos/xcat2/xcat-core/subscription","commits_url":"https://api.github.com/repos/xcat2/xcat-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/xcat2/xcat-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/xcat2/xcat-core/contents/{+path}","compare_url":"https://api.github.com/repos/xcat2/xcat-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xcat2/xcat-core/merges","archive_url":"https://api.github.com/repos/xcat2/xcat-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xcat2/xcat-core/downloads","issues_url":"https://api.github.com/repos/xcat2/xcat-core/issues{/number}","pulls_url":"https://api.github.com/repos/xcat2/xcat-core/pulls{/number}","milestones_url":"https://api.github.com/repos/xcat2/xcat-core/milestones{/number}","notifications_url":"https://api.github.com/repos/xcat2/xcat-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xcat2/xcat-core/labels{/name}","releases_url":"https://api.github.com/repos/xcat2/xcat-core/releases{/id}","deployments_url":"https://api.github.com/repos/xcat2/xcat-core/deployments","created_at":"2014-12-09T03:21:50Z","updated_at":"2017-07-21T23:15:36Z","pushed_at":"2017-07-24T20:15:01Z","git_url":"git://github.com/xcat2/xcat-core.git","ssh_url":"git@github.com:xcat2/xcat-core.git","clone_url":"https://github.com/xcat2/xcat-core.git","svn_url":"https://github.com/xcat2/xcat-core","homepage":null,"size":191435,"stargazers_count":100,"watchers_count":100,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":220,"forks":93,"open_issues":220,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529"},"html":{"href":"https://github.com/xcat2/xcat-core/pull/3529"},"issue":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/3529"},"comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/issues/3529/comments"},"review_comments":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529/comments"},"review_comment":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xcat2/xcat-core/pulls/3529/commits"},"statuses":{"href":"https://api.github.com/repos/xcat2/xcat-core/statuses/de9b4b575fcd625163a00c0c10003f48ca23e647"}}}}
{"actor":{"display_login":"zet809"}}