1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/docs/libssh2_userauth_hostbased_fromfile.md
2026-07-22 20:46:31 +02:00

1.0 KiB

c, SPDX-License-Identifier, Title, Section, Source, See-also
c SPDX-License-Identifier Title Section Source See-also
Copyright (C) The libssh2 project and its contributors. BSD-3-Clause libssh2_userauth_hostbased_fromfile 3 libssh2
libssh2_userauth_hostbased_fromfile_ex(3)

NAME

libssh2_userauth_hostbased_fromfile - convenience macro for libssh2_userauth_hostbased_fromfile_ex(3) calls

SYNOPSIS

#include <libssh2.h>

int libssh2_userauth_hostbased_fromfile(LIBSSH2_SESSION *session,
                                        const char *username,
                                        const char *pubkeyfile,
                                        const char *privkeyfile,
                                        const char *passphrase,
                                        const char *hostname);

DESCRIPTION

This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_userauth_hostbased_fromfile_ex(3).

RETURN VALUE

See libssh2_userauth_hostbased_fromfile_ex(3)

ERRORS

See libssh2_userauth_hostbased_fromfile_ex(3)