Back to FlowSsh Documentation

Client - SetKeypair


__cdecl FlowSshC_Client_SetKeypair(
  FlowSshC_Client* client,
  FlowSshC_Keypair* keypair);


[Client] void SetKeypair(RefPtr<Keypair> const& progress);


[Client] public void SetKeypair(Keypair keypair);


  • [C] client: FlowSshC_Client pointer.
  • keypair: Keypair to log in with. Note that only the public-key part is known to the server.


Use SetKeypair to specify a keypair to log in with. If you set both a password and a keypair, then public-key authentication will be performed first.