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: Problem with ssh keys


At 09:10 AM 2/3/2004, Pedro Luiz Nani Costa you wrote:
>Hello everyone!!!!
>
>I know this subject is exausted on the list, but i can't figured out 
>what's happening on my case.
>
>Look, i have winXP e win2000 machines and i set up properly sshd on 
>cygwin(CYGWIN_NT-5.1 pcdep06 1.5.5(0.94/3/2) 2003-09-20 16:31 i686).
>
>The hole thing is i have to use HOME directories in NTFS drives on my net, 
>e. g., my home is like //pcdep41/home/$USER. So when i'm trying  to 
>authenticate with ssh keys, which is generated e registered on other 
>machines properly. So, i get the obvious:
>
>$ ssh kirin
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>Permissions 0644 for '//pcdep41/home/pcosta/.ssh/id_dsa' are too open.
>It is recommended that your private key files are NOT accessible by 
>others.
>This private key will be ignored.
>bad permissions: ignore key: //pcdep41/home/pcosta/.ssh/id_dsa
>Enter passphrase for key '//pcdep41/home/pcosta/.ssh/id_dsa':
>pcosta@kirin's password:
>
>
>Indeed, look my home directory:
>
>pcosta@pcdep06 ~/.ssh
>$ ls -l
>total 4
>-rw-r--r--    1 pcosta   Nenhum        602 Feb  3 11:09 authorized_keys2
>-rw-r--r--    1 pcosta   Nenhum        668 Jan 29 12:57 id_dsa
>-rw-r--r--    1 pcosta   Nenhum        604 Jan 29 12:57 id_dsa.pub
>-rw-r--r--    1 pcosta   Nenhum        697 Feb  2 11:08 known_hosts
>
>
>And of course, chmod or chown doesn't work. I try to define permissions on 
>windows, check my Cygwin environmental variable, all stuff that i could 
>find on this list, but nothing solve the problem.
>
>It is possible do that??? i mean, set the right permissions on my windows 
>drive network????


Please read and follow the link below for all problem reports to the list:


>Problem reports:       http://cygwin.com/problems.html


My WAG is that you haven't set 'smbntsec' in your CYGWIN environment 
variable.  Try it and let us know if that helps.  If it doesn't, let 
us know exactly what you did as specified by the link above.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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