This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: permissions on /proc/self/fd, process substitution, heredoc


I know.  I basically just wanted to try combining heredocs and process
substitution, to see if I could do it. :-)

On 6/11/07, Dave Korn <dave.korn@artimi.com> wrote:
On 12 June 2007 01:54, Brian Minton wrote:

> 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:

  Guess it's being a bit picky.  Suppose you'd better cat it to a temp file,
chmod the temp file and then ssh-add it < that.

    cheers,
      DaveK
--
Can't think of a witty .sigline today....


-- 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/



-- 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]