[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hostbased authentication in libssh
[Thread Prev] | [Thread Next]
- Subject: Re: hostbased authentication in libssh
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 14 Feb 2017 10:56:58 +0100
- To: libssh@xxxxxxxxxx
On Thursday, 9 February 2017 23:46:35 CET DeJager, Christopher Alan wrote: > According to http://api.libssh.org/stable/index.html libssh supports > hostbased authentication. However, I have yet to be successful using it and > cannot find an example of someone else doing it. > > I am trying to write a client to connect to an openssh-server v6.7. I did > not see an authentication function related to hostbased in > http://api.libssh.org/stable/group__libssh__auth.html so I tried loading > the private key for the client with ssh_pki_import_privkey_file() and then > authenticating with ssh_userauth_publickey(). I have also tried > ssh_userauth_none() and skipping that step. I did successfully authenticate > with a public key and with a password. > > Is hostbased authentication supported on the client and if so how would I go > about it? That is an error on the page. We do not support it but maybe you're interested to implement it? Shouldn't be very hard to add it. Cheers, Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: hostbased authentication in libssh | "DeJager, Christopher Alan" <dejager@xxxxxxxx> |
hostbased authentication in libssh | "DeJager, Christopher Alan" <dejager@xxxxxxxx> |