Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11408

Upstream: Eclipse SSH Preferences creates SSH keys with permissions 755 (WATCHER)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • LATER
    • None
    • openshift, upstream
    • None

      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

            Unassigned Unassigned
            namjanjboss Nam Duong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: