Nam Duong created JBIDE-11408:
---------------------------------
Summary: Eclipse SSH Preferences creates SSH keys with permissions 755
Key: JBIDE-11408
URL:
https://issues.jboss.org/browse/JBIDE-11408
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Environment: windows 7
Reporter: Nam Duong
Assignee: Andre Dietisheim
Priority: Minor
similar to
https://issues.jboss.org/browse/JBIDE-10061
When I create a domain for the first time on a clean windows environment, I have to create
a new set of keys. Those keys have permissions 755 but they need to be 600 in order to
run git/ssh commands with them. I get this error:
git clone
ssh://118b5a4772744905b3c19059c5c0ac9c@kitchensink-nduongdemo.rhcloud.com/~/git/kitchensink.git/
Cloning into 'kitchensink'...
The authenticity of host 'kitchensink-nduongdemo.rhcloud.com (174.129.77.140)'
can't be established.
RSA key fingerprint is cf:ee:77:cb:0e:fc:027:72:7e:ae:80:c0:90:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'kitchensink-nduongdemo.rhcloud.com,174.129.77.140'
(RSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0755 for '/home/spousty/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
bad permissions: ignore key: /home/spousty/.ssh/id_rsa
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: The remote end hung up unexpectedly
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira