From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24584 invoked by alias); 17 Oct 2013 07:24:12 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 24573 invoked by uid 89); 17 Oct 2013 07:24:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL_LASTEXT,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail.lysator.liu.se Received: from mail.lysator.liu.se (HELO mail.lysator.liu.se) (130.236.254.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 17 Oct 2013 07:24:11 +0000 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 50B3F4001F for ; Thu, 17 Oct 2013 09:24:08 +0200 (CEST) Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com [90.227.119.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 3041040005 for ; Thu, 17 Oct 2013 09:24:08 +0200 (CEST) Message-ID: <525F909B.6080600@lysator.liu.se> Date: Thu, 17 Oct 2013 07:24:00 -0000 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin-apps@cygwin.com Subject: Re: SSH key for upload access References: <5259E51A.7030103@lysator.liu.se> In-Reply-To: <5259E51A.7030103@lysator.liu.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00147.txt.bz2 On 2013-10-13 02:11, Peter Rosin wrote: > Name: Peter Rosin > Package: libggi2 > SSHkey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC23SuIlLpd0XNxD5CS9XRDoCF2ciF9V5DPoC4cWxG/261biENlxH2DP3W48IljdUb8FHsqw/iL/YRNc28H7zwEtwyYkirtzz96H8t7bAA7jFtuLqCoVRAVHUtCUIse6CRCMYkVuq4ToQ5oMvD2gbvkKreR9PbKJ0gwHcDpSLfKcp8jWDlNObv7jFsuaAPewXI+0Z5QVwEiKidM6OQ9bhEqO3tCxkrbxR1qsZ9wWW/pm+rnyEpD+sUnSy/O4iMgCEs4KJaZ2HRjZxgY7jHN+6N2+D8AajJ8+xoaQzhtoK23WstMGscGraUwWLsQ1LebI4Yt+EeEWYmTGcRsPugZH2gFoxLWFTghLQFchlkEAtDe6GCoZB2c8ImlClDc6illzg5r0zyllqXxzRlB0r6bYK67GG1Oow1Gu+gFyULz9cvvx6N0W+ID+ssegQK4A4ICa3GUFC+AmDzZvLLANar/mq60O9Y8YSXKqi3B4py43EcvVPd0Ac/oKFmXGmaHsr+H1Qz8JRU8Ks2rTSHlWo+LSD8bb98mh95HsM+Ufxgiq9VNpMvWj7uG2DJ7QoMNk9ItudHM+ACQYy+9nOt5BTFjGUlhMDQKq0x9mHJwWcFQHa3lw53v2Af5xGfXvYmYFbPggxKsmrxGMZ9q9z1MHaxixLvT9QA/bRjKi2GHb6gogbtNuQ== peda > It doesn't work for me. Cheers, Peter (I added set sftp:connect-program to add -v to the ssh invocation) $ lftp -c 'set sftp:connect-program "ssh -a -x -v"; debug; connect sftp://cygwin:@cygwin.com/; ls' ---- Running connect program (ssh -a -x -v -s -l cygwin cygwin.com sftp) ---> sending a packet, length=5, type=1(INIT), id=0 <--- OpenSSH_6.2p2, OpenSSL 1.0.1e 11 Feb 2013 <--- debug1: Reading configuration data /home/peda/.ssh/config <--- debug1: /home/peda/.ssh/config line 11: Applying options for cygwin.com <--- debug1: Connecting to cygwin.com [209.132.180.131] port 22. <--- debug1: Connection established. <--- debug1: identity file /home/peda/.ssh/cygwin type 1 <--- debug1: identity file /home/peda/.ssh/cygwin-cert type -1 <--- debug1: Enabling compatibility mode for protocol 2.0 <--- debug1: Local version string SSH-2.0-OpenSSH_6.2 <--- debug1: Remote protocol version 1.99, remote software version OpenSSH_5.3 <--- debug1: match: OpenSSH_5.3 pat OpenSSH_5* <--- debug1: SSH2_MSG_KEXINIT sent <--- debug1: SSH2_MSG_KEXINIT received <--- debug1: kex: server->client aes128-ctr hmac-md5 none <--- debug1: kex: client->server aes128-ctr hmac-md5 none <--- debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent <--- debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP <--- debug1: SSH2_MSG_KEX_DH_GEX_INIT sent <--- debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY <--- debug1: Server host key: RSA 1d:1e:46:7f:4d:73:8d:10:20:c3:4c:5a:34:14:44:23 <--- debug1: Host 'cygwin.com' is known and matches the RSA host key. <--- debug1: Found key in /home/peda/.ssh/known_hosts:51 <--- debug1: ssh_rsa_verify: signature correct <--- debug1: SSH2_MSG_NEWKEYS sent <--- debug1: expecting SSH2_MSG_NEWKEYS <--- debug1: SSH2_MSG_NEWKEYS received <--- debug1: Roaming not allowed by server <--- debug1: SSH2_MSG_SERVICE_REQUEST sent <--- debug1: SSH2_MSG_SERVICE_ACCEPT received <--- debug1: Authentications that can continue: publickey <--- debug1: Next authentication method: publickey <--- debug1: Offering RSA public key: /home/peda/.ssh/cygwin <--- debug1: Authentications that can continue: publickey <--- debug1: No more authentication methods to try. <--- Permission denied (publickey). **** Peer closed connection ---- Disconnecting cd `sftp://cygwin [at] cygwin.com/' [Delaying before reconnect: 25] ...