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: Putty and pre-shared keys with Cygwin's sshd

Hi Andrew,

On Tue, Jan 24, 2012 at 3:51 PM, Andrew DeFaria  wrote:
> On 01/24/2012 01:57 AM, Corinna Vinschen wrote:
>>>> $ man sshd
>>> Could you be a bit more vague! ;-)
>> The sshd manpage contains a chapter about the layout of the
>> authorized_keys file. ?So what else do you expect?
> Why more vagueness of course. Otherwise you might be seen as being directly
> helpful and we wouldn't want that! (For the sarcasm impaired :-))

Strike 1.

>>> Look, the public key that puttygen saves looks like the above. It's
>>> multilined. That's why I asked "Does OpenSSH accept these multiline
>>> keys". You could answer that question but instead you give me a
>>> cryptic reference. From what I read there no it doesn't accept such
>>> keys and I didn't think it did. Can you see my confusion here?!?
>> No. ?The man page is pretty clear on this.
> Then your being dense or dishonest. People get confused. You can help by
> explaining things instead of just pointing.

Strike 2.

>>> Geeze! The man page is saying it's gotta be one line but puttygen is
>>> giving me multiple lines. Hence confusion so I asked a question
>>> which you could have simply answered directly rather than
>>> indirectly.
>> Fish - fishing.
> I know how to fish already.

I have my doubts about that.

> Would it kill you to be nice and say something
> like "No it has to be one line. You must be using the wrong key"???

Let me rephrase:

Andrew: I have a Putty key and it has multiple lines. It does not work
with sshd.
Corinna: Read the manual of sshd. It has a section on the format of
man page:
     AuthorizedKeysFile specifies the file containing public keys for public
     key authentication; if none is specified, the default is
     ~/.ssh/authorized_keys.  Each line of the file contains one key (empty
     lines and lines starting with a `#' are ignored as comments).    (snip)

     Note that lines in this file are usually several hundred bytes long (snip)

Corinna showed you where to find the information which would have
allowed you to reach this conclusion yourself:
"I have a multiline file"  and  "sshd expects keys in a single line"
=> the key is in wrong format.
This is what she meant by "teaching to fish". You are complaining that
she didn't give you a fish outright ("the key is in wrong the

> You really should work on your people skills. I sure I'm not the first to
> mention this.

Strike 3.

As a matter of fact, you _are_ the first to mention this:!&form=extended&m=all&ps=10&fmt=long&wm=wrd&sp=1&sy=1&wf=2221&type=&GroupBySite=no&ul=%2Fml%2Fcygwin%2F%25

Attacking people who _are_ trying to help you is not going to win you friends.

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:
Unsubscribe info:

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