This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: SSH key for upload access
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Wed, 1 Jan 2014 18:50:29 -0500
- Subject: Re: SSH key for upload access
- Authentication-results: sourceware.org; auth=none
- References: <52990653 dot 8090308 at gmail dot com> <20131130025526 dot GB4823 at ednor dot casa dot cgf dot cx> <52C43721 dot 2050400 at gmail dot com>
- Reply-to: cygwin-apps at cygwin dot com
On Wed, Jan 01, 2014 at 04:41:21PM +0100, marco atzeri wrote:
>Il 11/30/2013 3:55 AM, Christopher Faylor ha scritto:
>> On Fri, Nov 29, 2013 at 10:25:39PM +0100, marco atzeri wrote:
>>> Name: Marco Atzeri
>>> Package: lapack
>>> ---- BEGIN SSH2 PUBLIC KEY ----
>>> AAAAB3NzaC1yc2EAAAADAQABAAABAQDBdNLOzObcACE50UDaWncOKGYK8Ph2j7NGdMlgRH
>>> IjzLj6ibCAJK8rSJ+9u1UY59cjUL3LbdWnJzohRMnQ+cEe2mrG1uwjQXVC5C9V0A9EFKwV
>>> 6q/Q6z3+UO4K14jH+s8tYCei/M/92c2c9zmta2w4sf6S+D1BS6MWOA5wg5GGHXAtVaiU4Z
>>> PhjOgrTDxsGY8tQBWEtUVRKaXLRHO014ObE8HddC4dgyiSk89eW8Bj0I9mfW/jtOd2pcNF
>>> G0Z/CSWjRyLftQvYHAznppse8Q9rKQYkp7jLHcNYn8oQU5vGwRZzU3axdIUCZx26YJu6AT
>>> 5h3CjsRvMjvKtvNJ2QV5Zz
>>> ---- END SSH2 PUBLIC KEY ----
>>
>> Activated.
>>
>> cgf
>>
>
>
>while I succeed to connect with "ssh matzeri(at)sourceware(dot)org"
>
>on sftp, I catch:
>
>$ lftp -d sftp://cygwin:(at)cygwin(dot)com
>lftp cygwin(at)cygwin(dot)com:~> ls
>---- Running connect program (ssh -a -x -s -l cygwin cygwin.com sftp)
>---> sending a packet, length=5, type=1(INIT), id=0
><--- Permission denied (publickey).
>**** Peer closed connection
>---- Disconnecting
>Interrupt
>
>Any idea ?
Given the error, apparently you're not using the private key associated with the above
public key. FWIW, the above key is not the same as the public key for your general
login.
cgf