delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/19/03:49:13

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: Wed, 19 Nov 2003 09:48:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Need help with password-less ssh
Message-ID: <20031119084858.GY18706@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BADF3C947A1BD54FBA75C70C241B0B9E90BB81 AT ex02 DOT co DOT idirect DOT net>
Mime-Version: 1.0
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E90BB81@ex02.co.idirect.net>
User-Agent: Mutt/1.4.1i

On Tue, Nov 18, 2003 at 07:08:54PM -0500, Harig, Mark wrote:
> >  
> > jware AT JWARE-PC ~/.ssh
> > $ ssh-keygen -t rsa -f $HOME/.ssh/id_rsa
> > Generating public/private rsa key pair.
> > Enter passphrase (empty for no passphrase): 
> > Enter same passphrase again: 
> > Your identification has been saved in /home/jware/.ssh/id_rsa.
> > Your public key has been saved in /home/jware/.ssh/id_rsa.pub.
> > The key fingerprint is:
> > <fingerprint remove>
> >  
> 
> Because you are generating the newer 'id_rsa/id_rsa.pub' key-pair
> instead of the older 'identity/identity.pub' key-pair, you need
> to copy your 'id_rsa.pub' file to the newer '.ssh/authorized_keys2'
> file, instead of the older '.ssh/authorized_keys'.
> 
> Also, check to make sure that on both the client and server computers
> your '.ssh' directory is readable only by you (mode: 700), and that the
> 'authorized_keys2' file on the server computer is write-able only by
> you (mode: 644).

Or, to make it short, read /usr/share/doc/Cygwin/openssh.README and use
/usr/bin/ssh-host-config and /usr/bin/ssh-user-config to create your
configuration.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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