[jbosstools-issues] [JBoss JIRA] (JBIDE-11408) Eclipse SSH Preferences creates SSH keys with permissions 755

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Jan 9 14:23:08 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-11408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-11408:
-------------------------------------

    Fix Version/s: 4.1.x
                       (was: 4.0.x)

    
> 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, UpStream
>         Environment: windows 7
>            Reporter: Nam Duong
>            Assignee: Andre Dietisheim
>            Priority: Critical
>             Fix For: 4.1.x
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list