Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040203092828.03916f68@127.0.0.1> X-Sender: Date: Tue, 03 Feb 2004 09:31:36 -0500 To: Pedro Luiz Nani Costa , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: Problem with ssh keys In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 AT kirin's password: > > >Indeed, look my home directory: > >pcosta AT 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/