This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSH key for upload access


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]
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]