This is the mail archive of the
mailing list for the Cygwin project.
Re: Putty and pre-shared keys with Cygwin's sshd
On 1/24/2012 9:23 AM, Csaba Raduly wrote:
Csaba - I wasn't talking to you!
Let me rephrase:
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"???
You're missing the part that Andrey was saying to save the public key
and use that. Another person spoke of conversion between the two using
ssh-keygen (which, BTW, failed on this particular key). IOW there was
confusion and different answers from different "experts". That's why I
asked a question for *CLARIFICATION*. I didn't receive an answer - I was
pointed, cryptically, to a man page, which, BTW, I read and which, BTW,
I came back with and admitted that it said that and pointed to the fact
that others were saying and/or implying things differently, again, hence
the confusion, which is best met with *CLARIFICATION* not terseness.
Andrew: I have a Putty key and it has multiple lines. It does not work
Corinna: Read the manual of sshd. It has a section on the format of
AUTHORIZED_KEYS FILE FORMAT
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)
Yes indeed. She could have just answered the question and cleared up the
confusion. It would have been nicer, more polite and best of all more
helpful. IOW she *COULD* have done that but CHOOSE not to. This doesn't
win you friends either. Friends are helpful - especially when people are
confused and *asking for help* not asking for a fishing lesson. I don't
need fishing lessons. I know how to read man pages, but sometimes they
conflict with what other people say and (horrors) sometimes they are wrong.
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
There's nothing wrong with just being helpful on occasion instead of
just being terse. You don't need to ALWAYS "teach a man to fish" or more
likely to remind him that he could be fishing for the information himself.
That would be true if Corinna's entire life is only on this forum. I
suspect she might have a little bit more of a life outside of this forum
and outside of computers. Maybe I'm wrong...
You really should work on your people skills. I sure I'm not the first to
As a matter of fact, you _are_ the first to mention this:
Attacking people who _are_ trying to help you is not going to win you friends.
You also don't make friends being obtuse and terse either. I respect
Corinna. I really do. She does a lot and is often very helpful. But
she's also often antisocial and unhelpful too at times. We all are. For
example, you are attacking me here. We all do it. Chill out! Geeze!
Andrew DeFaria <http://defaria.com>
There is absolutely no substitute for a genuine lack of preparation.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple