delorie.com/archives/browse.cgi | search |
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: | <jfmgh3$b6i$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> |
Date: | Tue, 24 Jan 2012 18:23:01 +0100 |
Message-ID: | <CAEhDDbDFtw9KFT_c_3-=AnhHE5rVqbaveFVYzeWzCMFsLqUiLw@mail.gmail.com> |
Subject: | Re: Putty and pre-shared keys with Cygwin's sshd |
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 q0OHNPdc008003 |
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 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) 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"). > 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 Attacking people who _are_ trying to help you is not going to win you friends. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |