[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hostbased authentication in libssh
[Thread Prev] | [Thread Next]
- Subject: hostbased authentication in libssh
- From: "DeJager, Christopher Alan" <dejager@xxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 9 Feb 2017 23:46:35 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
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? Thank you, -- Chris DeJager
Re: hostbased authentication in libssh | Andreas Schneider <asn@xxxxxxxxxxxxxx> |