delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/11/20:54:13

X-Spam-Check-By: sourceware.org
Message-ID: <81aa6b5a0706111753h66ad616fn5492e9c03d9612d9@mail.gmail.com>
Date: Mon, 11 Jun 2007 20:53:49 -0400
From: "Brian Minton" <brian AT minton DOT name>
To: cygwin AT cygwin DOT com
Subject: permissions on /proc/self/fd, process substitution, heredoc
MIME-Version: 1.0
X-Google-Sender-Auth: f3e3a6311e3f1ea6
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

hi.  I am trying to add a ssh key from process substitution and a
heredoc, and I am getting the following message:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0666 for '/proc/self/fd/63' are too open.
It is recommended that your private key files are NOT accessible by others.
This private key will be ignored.

here is the code I am trying to run:
ssh-add  <( cat << EOF
-----BEGIN RSA PRIVATE KEY-----
[snip]
-----END RSA PRIVATE KEY-----
EOF
)

this works in linux.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019