delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/11/30/03:51:44

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4ED56819.6050707@etr-usa.com>
References: <9E9DD545D034B84B935BB50A739B078B0551DD6893 AT sha-exch12 DOT shared DOT ifeltd DOT com> <4ED56819 DOT 6050707 AT etr-usa DOT com>
Date: Wed, 30 Nov 2011 09:51:22 +0100
Message-ID: <CAEhDDbDPnFUxxGxxnf0DkyXz+pphO9Msd2Ozg+jPA4s0FnJA9Q@mail.gmail.com>
Subject: Re: Passwordless sftp with ssh 5.9 still asks for password
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pAU8peae013310

On Wed, Nov 30, 2011 at 12:17 AM, Warren Young  wrote:
> On 11/29/2011 2:49 PM, Andrew Erskine wrote:
>>
>> ssh-keygen -t dsa
>
> "-t [keytype]" is a default flag these days, and it defaults to RSA, not
> DSA.  Unless you know for a fact you need DSA keys for some odd reason,
> leave this flag off and accept the default.
>
> (ssh itself doesn't care what kind of key you use, as long as both ends have
> support for the key type you want to use.  Since every ssh implementation
> I've used since *forever* supports both RSA and DSA, the only way I can see
> why you'd want to use DSA is if you had some weird third-party tool that
> only understood DSA keys.)
>
>> Accept the default
>> key location, C:\Documents and Settings\nhuser\.ssh\id_dsa,
>
> Why would that be the default location, if you are using Cygwin tools?
> Shouldn't it be something like c:\cygwin\home\nhuser\.ssh\...?  You can
> change your HOME to anything you like, but that's not the default with
> Cygwin.

That *is* the default with Cygwin if HOME, or HOMEDRIVE and HOMEPATH,
is set in the Windows environment.


Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


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