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

Andre Dietisheim (JIRA) issues at jboss.org
Wed Jun 7 10:51:00 EDT 2017


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

Andre Dietisheim reassigned JBIDE-11408:
----------------------------------------

    Assignee:     (was: Andre Dietisheim)


> Upstream: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER)
> ---------------------------------------------------------------------------------
>
>                 Key: JBIDE-11408
>                 URL: https://issues.jboss.org/browse/JBIDE-11408
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: openshift, upstream
>         Environment: windows 7
>            Reporter: Nam Duong
>            Priority: Critical
>             Fix For: LATER
>
>
> 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 was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list