You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Hector Acosta (Code Review)" <ge...@cloudera.org> on 2019/03/12 15:53:36 UTC

[Impala-ASF-CR] Set correct permissions for ~/.ssh files

Hector Acosta has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12725


Change subject: Set correct permissions for ~/.ssh files
......................................................................

Set correct permissions for ~/.ssh files

Without this I got the following error in my ssdh log:
Authentication refused: bad ownership or modes for file $HOME/.ssh/authorized_keys

Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
---
M bin/bootstrap_system.sh
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/12725/1
-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 1
Gerrit-Owner: Hector Acosta <he...@cloudera.com>

[Impala-ASF-CR] Set correct permissions for ~/.ssh files

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: Set correct permissions for ~/.ssh files
......................................................................


Patch Set 1:

(2 comments)

Thanks for working on this! For this one, can you file a JIRA? This sounds like something that other people could hit.

http://gerrit.cloudera.org:8080/#/c/12725/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12725/1//COMMIT_MSG@9
PS1, Line 9: ssdh
sshd?


http://gerrit.cloudera.org:8080/#/c/12725/1//COMMIT_MSG@10
PS1, Line 10: Authentication refused: bad ownership or modes for file $HOME/.ssh/authorized_keys
Can you include what operation would fail? Is this happening when you are connecting to the development machine using a public key? What works with this change that didn't before?



-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 1
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Wed, 13 Mar 2019 18:05:30 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................

IMPALA-8314 Set correct permissions for ~/.ssh files

Without this running bootstrap_system.sh resulted in:
++ chmod go-rwx /home/hacosta/.ssh
++ [[ -f /home/hacosta/.ssh/id_rsa ]]
++ ssh-keygen -t rsa -N '' -q -f /home/hacosta/.ssh/id_rsa
++ cat /home/hacosta/.ssh/id_rsa.pub
++ echo 'NoHostAuthenticationForLocalhost yes'
++ ssh localhost whoami
Bad owner or permissions on /home/hacosta/.ssh/config

Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Reviewed-on: http://gerrit.cloudera.org:8080/12725
Reviewed-by: Joe McDonnell <jo...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M bin/bootstrap_system.sh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 3
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/3960/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 2
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Wed, 27 Mar 2019 00:42:02 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Hector Acosta (Code Review)" <ge...@cloudera.org>.
Hector Acosta has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................

IMPALA-8314 Set correct permissions for ~/.ssh files

Without this running bootstrap_system.sh resulted in:
++ chmod go-rwx /home/hacosta/.ssh
++ [[ -f /home/hacosta/.ssh/id_rsa ]]
++ ssh-keygen -t rsa -N '' -q -f /home/hacosta/.ssh/id_rsa
++ cat /home/hacosta/.ssh/id_rsa.pub
++ echo 'NoHostAuthenticationForLocalhost yes'
++ ssh localhost whoami
Bad owner or permissions on /home/hacosta/.ssh/config

Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
---
M bin/bootstrap_system.sh
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/25/12725/2
-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 2
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] Set correct permissions for ~/.ssh files

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: Set correct permissions for ~/.ssh files
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2413/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 1
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 12 Mar 2019 16:37:55 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................


Patch Set 2: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 2
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jim Apple <jb...@apache.org>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Wed, 27 Mar 2019 05:13:08 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 2
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 Mar 2019 20:27:53 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-8314 Set correct permissions for ~/.ssh files

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/12725 )

Change subject: IMPALA-8314 Set correct permissions for ~/.ssh files
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/2444/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/12725
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Gerrit-Change-Number: 12725
Gerrit-PatchSet: 2
Gerrit-Owner: Hector Acosta <he...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Fri, 15 Mar 2019 21:06:20 +0000
Gerrit-HasComments: No