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

Dave Korn dave.korn@artimi.com
Tue Jun 12 01:24:00 GMT 2007


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/



More information about the Cygwin mailing list