delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/15/15:42:57

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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: "Cygwin List" <cygwin AT cygwin DOT com>
Subject: RE: SSH and Remote Key authentication
Date: Sun, 15 Feb 2004 15:43:00 -0500
Message-ID: <EKEJIKAILPONGGENMBGAGEPGGGAA.nhv@cape.com>
MIME-Version: 1.0
In-Reply-To: <6.0.1.1.0.20040215152819.0393e388@127.0.0.1>
X-Virus-Scanned: Cape.Com VirusScan, no known virus found
X-IsSubscribed: yes
Note-from-DJ: This may be spam

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

Norman


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