Daiki Ueno <ueno_at_unixuser.org> writes:
> Simon Josefsson <simon_at_josefsson.org> writes:
>> I should have said that I tried the ssh2_agent example with my OpenPGP
>> smartcard, and authentication worked! So libssh2 now support smartcard
>> based SSH. Cool!
> I should also have tried with my OpenPGP card, but good to hear!
> Probably you are using gpg-agent as ssh-agent?
>> However there seems to be a glitch:
>> jas_at_mocca:~/src/libssh2 master$ ./example/ssh2_agent 192.168.1.124 root
>> Authentication with username root and public key cardno:000500000139 succeeded!
>> Fingerprint: 87 25 0B E3 95 8B 27 0F A3 4D BB 80 BE 49 3A C3
>> This hangs.
> Ah, ssh2_agent seems to request userauth-list after successful
> authentication - that was my mistake on cut&paste from ssh2.c. I was
> satisfied with the "succeeded!" message, sorry.
> The attached patch will fix this.
Thanks. Maybe you could get commit access to libssh2 and push this
yourself? It may make it easier for you to apply smaller fixes like
this, and to add documentation.
Received on 2009-12-21