This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Passwordless sftp with ssh 5.9 still asks for password


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]