delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/03/09:18:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 3 Feb 2004 12:10:10 -0200 (EDT)
From: Pedro Luiz Nani Costa <pcosta AT dep DOT fem DOT unicamp DOT br>
To: cygwin AT cygwin DOT com
Subject: Problem with ssh keys
Message-ID: <Pine.LNX.4.44.0402031157390.29891-100000@kirin.dep.fem.unicamp.br>
MIME-Version: 1.0
X-IsSubscribed: yes

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

Thanks in advance.........

[]'s
Pedraum


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