delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/15/15:33:45

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: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040215152819.0393e388@127.0.0.1>
X-Sender:
Date: Sun, 15 Feb 2004 15:32:15 -0500
To: <nhv AT cape DOT com>, <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: SSH and Remote Key authentication
In-Reply-To: <EKEJIKAILPONGGENMBGAMEPFGGAA.nhv@cape.com>
References: <402DE42F DOT 3060208 AT cwilson DOT fastmail DOT fm> <EKEJIKAILPONGGENMBGAMEPFGGAA DOT nhv AT cape DOT com>
Mime-Version: 1.0

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
>
>TIA
>
>Norman
>
>$ 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
>OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
>debug1: Reading configuration data /home/$USER/.ssh/config
>debug1: Reading configuration data /etc/ssh_config
>debug1: Connecting to $HOST [128.128.109.18] port 22.
>debug1: Connection established.
>debug1: identity file /home/$USER/.ssh/identity type 0
>debug1: identity file /home/$USER/.ssh/id_rsa type 1
>debug1: identity file /home/$USER/.ssh/id_dsa type 2
>debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1
>debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,OpenSSH_3.1*
>debug1: Local version string SSH-1.5-OpenSSH_3.7.1p2
>debug1: Waiting for server public key.
>debug1: Received server public key (768 bits) and host key (1024 bits).
>debug1: Host '$HOST' is known and matches the RSA1 host key.
>debug1: Found key in /home/$USER/.ssh/known_hosts:17
>debug1: Encryption type: 3des
>debug1: Sent encrypted session key.
>debug1: Installing crc compensation attack detector.
>debug1: Received encrypted confirmation.
>debug1: Trying RSA authentication with key '/home/$USER/.ssh/identity'
>debug1: Remote: Authentication refused: bad ownership or modes for directory /home/$USER
>                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>debug1: Server refused our key.
>debug1: Doing challenge response authentication.
>debug1: No challenge.
>debug1: Doing password authentication.
>


Please read and follow the link below for all bug reports:

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


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.  FWIW, I doubt that this is a Cygwin specific issue
but there isn't really enough information here for me to tell for sure one
way or the other.  But you might also find the email archives helpful.  
There's been lots of people that ask about configuring openssh for Cygwin
here.



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019