delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
X-InterSystems: | Sent from InterSystems |
X-InterSystems: | Sent from InterSystems |
X-InterSystems: | Sent from InterSystems |
From: | Len Giambrone <Len DOT Giambrone AT intersystems DOT com> |
To: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
CC: | "<cygwin AT cygwin DOT com>" <cygwin AT cygwin DOT com> |
Subject: | Re: Putty and pre-shared keys with Cygwin's sshd |
Date: | Mon, 23 Jan 2012 19:59:36 +0000 |
Message-ID: | <F332CBAC-B049-40B1-B5B8-A32886E97C89@intersystems.com> |
References: | <jfcsbt$eci$1 AT dough DOT gmane DOT org> <1910391597 DOT 20120121163937 AT mtu-net DOT ru> <jff23g$h5j$1 AT dough DOT gmane DOT org> <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> |
In-Reply-To: | <jfkaps$2nc$1@dough.gmane.org> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 q0NJxt64012242 |
That looks like an SSH2 key, not an OpenSSH key. I downloaded puttygen to see exactly what you see. And after you load a key (generate one) right at the top it says: Public key for pasting into OpenSSH authorized_keys file: _key here_ For example, here is what it says for the key I just generated: ssh-dss AAAAB3NzaC1kc3MAAACBAMbwMxkFnVJF63DM+nfpD1gv6setf/Roin5qEc7ydRfaUHKZv5GVZiKnUGAaAMNFL74A71GAw6xi0+7JpsL1h+OkXmawFXC9KSgR+RA2VpxN2f7FWny1ShfhZq4N26ZG8PfHKH6C4FtnTZYgn6BK8kVBXCkC9JM+q7q5K02/8RupAAAAFQDQciLPjAQRgYreE+phPeNImQjfiQAAAIACMU7jvQJKUIWPhPOcEdRVy2vCg0D8K3Z22GhLGRwtnFA2qklcoBwc/uPwe+nJ8aVYBeJ7b/XXS5MJWJGfHkP9aYQHg7GQ5iZYBx596Txz4pHhzh5XW0iCWlzHX9vTY8xjSgwfK6wBk+Q/5WXmf7pO1wQ6Bh8OZKQ1KvCbUFSL6wAAAIEAg/GvMBJ1dvB94EBlkqwl2FTZ5XFYLOTpPtIbgiY1Tewljhoy9NuYmsZZjKD4T2HihhNhDDlVYgNSGrSw1rX/8ZfzjgIhzYSZGHswZ+AMxcWn+6k1E7i7xgvjcEqldyF/6O6ofq3TRPliONE3euQSA6SRbH7YKIKmb1+HqxTOy+A= dsa-key-20120123 THIS is what your OpenSSH public key should look like. -Len On Jan 23, 2012, at 2:01 PM, Andrew DeFaria wrote: > You're right. I made a mistake. Corrected it: > > Ltsdo-adefaria:cat /tmp/sshkey_public > ---- BEGIN SSH2 PUBLIC KEY ---- > Comment: "dsa-key-20120121" > AAAAB3NzaC1kc3MAAACBAMj5GQUtOJvnb7j47Mj7Tfmvx8gKidp1om5c135lFI6+ > gslqvjjWbuOBKenYDnYsnwsl4L31zs1DUEGge55GSAFZF4fuitYfZP++UWs9GAhT > jy++A8fg6ssVG2Y3+5iP8FNtYWKU3aMVmKIRJKvilI4801JuWqP5Rhd8XFzZmuEh > AAAAFQDRZu5keejWsFQn7+ZUlgf5RNrT/QAAAIEAjt/rOWTGhZz7SOnHjsL6lSn4 > E1aCZQQ/RKZXyoR9bwm9KHvvd/BiC2wB+iz/4Y+pztX5TKwpPY1r7mw6CoAtJfrJ > 8sGLTEADYjJOhG2se6kAAACAOS7f1yopMnELx7GhAtEtREN1zDikwa8dVhilM1M3 > 8+eZH4Z0Wd/3H9W2iKKYjgj8lIIYGiXUxjEWhA3n/3N6HDT0O5X97Pp+dM7oHlAa > KtGl0Y9ao+ZnSmXSquCsokL+1mh1baIe+VcyV2EA7Uat/B0zIlGpwfq4bQv0DmCj > l4g= > > Added this to ~/.ssh/authorized_keys. Still fails - same way. Does OpenSSH accept these multiline keys? > -- 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 |