delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/19/06:59:14

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
Message-ID: <400BC60A.86B9EB74@dessent.net>
Date: Mon, 19 Jan 2004 03:56:58 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SSH key authentification problem
References: <BKEALJICMGLKMNFJIFACOEBNCAAA DOT marc DOT poppleton AT teamlog DOT com>
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.linuxsv3.net
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dessent.net
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Marc Poppleton wrote:

> > So, none of us are mindreaders here, and we have zero information about
> > the configuration details of your sshd, which isn't even running
> > Cygwin... So, don't don't be surprised if you are underwhelmed with
> > help.
> 
> Well, concerning running Cygwin, I get the same results when I type the same
> commands via the Cygwin Bash shell.

Was referring to 'sshd' here, i.e. the server side.  You'd want to check
the sshd_config file on the server to make sure that it contains
"PubkeyAuthentication yes".  You'll also want to see which version of
the protocol it's configured for (e.g. "Protocol 2") as this will
determine what kind of public keys you will use.  See "man sshd_config"
for more.

Then, also on the server, check that there's a file
$HOME/.ssh/authorized_keys and that it contains a line corresponding to
your public key, which will be in $HOME/.ssh/*.pub on your client
machine.  If you're using v1 of the protocol it will be pubkey.pub,
otherwise it will be id_[rd]sa.pub.  You shouldn't require the admin for
this, as this is a normal text file in your home directory.  Read "man
ssh" for all the details of how this works.

Brian


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