On Wednesday 08 February 2012 16:31:13 you wrote:
> Looks like you're writing a server. ssh_userauth_autopubkey() is only for
> the 
 client.
> 
> >>>>>>  yes ,i'm writing a server. since ssh_userauth_autopubkey() is for
> >>>>>>  client ,which api server should use.
> Thanks a lot

Depends on. If you use master the new pki functions should make it easy. You 
need to read the key from disk and compare it with the key provided by the 
server.


        -- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                [email protected]


Reply via email to