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.20040215155106.0393e388@127.0.0.1> X-Sender: Date: Sun, 15 Feb 2004 16:03:26 -0500 To: , "Cygwin List" From: Larry Hall Subject: RE: SSH and Remote Key authentication In-Reply-To: References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040215152819 DOT 0393e388 AT 127 DOT 0 DOT 0 DOT 1> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:43 PM 2/15/2004, Norman Vine you wrote: >Larry Hall writes: >> >> At 03:25 PM 2/15/2004, Norman Vine you wrote: >> >Hi all >> > >> >I am trying to use SSH remote key authentication >> >It appears as if the remote $HOST does not like >> >the permissions on my home dir >> > >> >Any guidance appreciated >> > >> >$ cd ~ >> > >> >$ ls -ld >> >drwxr-xr-x+ 21 $USER None 32768 Feb 13 06:29 . >> > >> >$ ls -ld .ssh >> >drwx------+ 3 $USER None 4096 Feb 12 13:49 .ssh >> > >> >$ ssh -v $USER@$HOST > >> >debug1: Remote: Authentication refused: bad ownership or modes for directory /home/$USER >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> > >> >> Sounds like a simple permissions problem on ~/.ssh/identity. Your best >> bet is to read up on openssh docs so that you're sure you get everything >> configured correctly > >AFAICT I have the correct permissions on ~/.ssh/identity >and the permissions on the $HOST files are identical to >those that admin@$HOST uses to connect from a remote Linux machine > >$ cd ~ >$ ls -la .ssh/identity >-rw------- 1 $USER None 525 Feb 12 14:51 .ssh/identity > >Thanks OK then. I agree, that looks fine. So since this is all the information you've given, besides a possible implication that you can ssh to the $HOST machine from a Linux machine, I can't really help much. If you can ssh in from a Linux machine, try comparing all differences between that machine and the problem "box" and see if you can find what's missing. You could also turn on debugging on the server to help, though I think the message you got already is pretty clear about what it thinks the problem is. Check the permissions real close (use 'getfacl' if you need to), read the docs - Cywgin-specific and otherwise, and narrow down the potential problem areas. If you find a Cygwin specific issue, I'd encourage you again to read and follow the guidelines of before consulting the email list further. But I still suspect that your problems aren't Cygwin specific but rather installation-specfic, though information that asks for might indicate otherwise. Feel free to prove my suppositions wrong of course. -- 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/