mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-06-12 09:41:53 +03:00
Refactored the connect_ssh example function
into a new file
This commit is contained in:
@ -13,9 +13,10 @@ clients must be made or how a client should react.
|
||||
#ifndef EXAMPLES_COMMON_H_
|
||||
#define EXAMPLES_COMMON_H_
|
||||
|
||||
#include <libssh/libssh.h>
|
||||
int authenticate_console(ssh_session session);
|
||||
int authenticate_kbdint(ssh_session session);
|
||||
int verify_knownhost(ssh_session session);
|
||||
|
||||
ssh_session connect_ssh(const char *hostname, const char *user, int verbosity);
|
||||
|
||||
#endif /* EXAMPLES_COMMON_H_ */
|
||||
|
Reference in New Issue
Block a user