delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/18/20:23:55

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
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: Need help with password-less ssh
Date: Tue, 18 Nov 2003 19:08:54 -0500
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E90BB81@ex02.co.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark" <maharig AT idirect DOT net>
To: "Ware, John" <jware AT ball DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id hAJ1NqQR030554

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


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