delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/24/14:27:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Putty and pre-shared keys with Cygwin's sshd
Date: Tue, 24 Jan 2012 11:26:50 -0800
Lines: 62
Message-ID: <jfn0ls$bjk$1@dough.gmane.org>
References: <1326199340 DOT 20120122003455 AT mtu-net DOT ru> <jffqqg$gke$1 AT dough DOT gmane DOT org> <1838817585 DOT 20120122072825 AT mtu-net DOT ru> <jfgbda$8o9$1 AT dough DOT gmane DOT org> <C78DB4FD-1F9A-4AB3-9BD9-456DDE9F424F AT intersystems DOT com> <jfi9mf$id9$1 AT dough DOT gmane DOT org> <20120123095700 DOT GC2456 AT calimero DOT vinschen DOT de> <jfkaps$2nc$1 AT dough DOT gmane DOT org> <20120123193818 DOT GG2456 AT calimero DOT vinschen DOT de> <jfkfm5$86i$1 AT dough DOT gmane DOT org> <20120124095747 DOT GJ2456 AT calimero DOT vinschen DOT de> <jfmgh3$b6i$1 AT dough DOT gmane DOT org> <CAEhDDbDFtw9KFT_c_3-=AnhHE5rVqbaveFVYzeWzCMFsLqUiLw AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
In-Reply-To: <CAEhDDbDFtw9KFT_c_3-=AnhHE5rVqbaveFVYzeWzCMFsLqUiLw@mail.gmail.com>
X-IsSubscribed: yes
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

On 1/24/2012 9:23 AM, Csaba Raduly wrote:
>> 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:
Csaba - I wasn't talking to you!
> 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
> authorized_keys
> man page:
> 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)
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.
> 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
> format").
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.

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.
>> 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:
>
> http://sourceware.org/cgi-bin/search.cgi?q=%22people+skills%22+Corinna&cmd=Search!&form=extended&m=all&ps=10&fmt=long&wm=wrd&sp=1&sy=1&wf=2221&type=&GroupBySite=no&ul=%2Fml%2Fcygwin%2F%25
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...
> 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
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