39LIBSSH_API
int ssh_userauth_offer_pubkey(
ssh_session session,
const char *username,
int type,
ssh_string publickey);
42LIBSSH_API
int ssh_userauth_agent_pubkey(
ssh_session session,
const char *username,
45LIBSSH_API
int ssh_userauth_autopubkey(
ssh_session session,
const char *passphrase);
46LIBSSH_API
int ssh_userauth_privatekey_file(
ssh_session session,
const char *username,
47 const char *filename,
const char *passphrase);
49SSH_DEPRECATED LIBSSH_API
void buffer_free(
ssh_buffer buffer);
50SSH_DEPRECATED LIBSSH_API
void *buffer_get(
ssh_buffer buffer);
51SSH_DEPRECATED LIBSSH_API uint32_t buffer_get_len(
ssh_buffer buffer);
52SSH_DEPRECATED LIBSSH_API
ssh_buffer buffer_new(
void);
55SSH_DEPRECATED LIBSSH_API
int channel_change_pty_size(
ssh_channel channel,
int cols,
int rows);
57SSH_DEPRECATED LIBSSH_API
int channel_close(
ssh_channel channel);
58SSH_DEPRECATED LIBSSH_API
int channel_forward_cancel(
ssh_session session,
const char *address,
int port);
59SSH_DEPRECATED LIBSSH_API
int channel_forward_listen(
ssh_session session,
const char *address,
int port,
int *bound_port);
60SSH_DEPRECATED LIBSSH_API
void channel_free(
ssh_channel channel);
61SSH_DEPRECATED LIBSSH_API
int channel_get_exit_status(
ssh_channel channel);
63SSH_DEPRECATED LIBSSH_API
int channel_is_closed(
ssh_channel channel);
64SSH_DEPRECATED LIBSSH_API
int channel_is_eof(
ssh_channel channel);
65SSH_DEPRECATED LIBSSH_API
int channel_is_open(
ssh_channel channel);
67SSH_DEPRECATED LIBSSH_API
int channel_open_forward(
ssh_channel channel,
const char *remotehost,
68 int remoteport,
const char *sourcehost,
int localport);
69SSH_DEPRECATED LIBSSH_API
int channel_open_session(
ssh_channel channel);
70SSH_DEPRECATED LIBSSH_API
int channel_poll(
ssh_channel channel,
int is_stderr);
71SSH_DEPRECATED LIBSSH_API
int channel_read(
ssh_channel channel,
void *dest, uint32_t count,
int is_stderr);
76SSH_DEPRECATED LIBSSH_API
int channel_read_nonblocking(
ssh_channel channel,
void *dest, uint32_t count,
78SSH_DEPRECATED LIBSSH_API
int channel_request_env(
ssh_channel channel,
const char *name,
const char *value);
79SSH_DEPRECATED LIBSSH_API
int channel_request_exec(
ssh_channel channel,
const char *cmd);
80SSH_DEPRECATED LIBSSH_API
int channel_request_pty(
ssh_channel channel);
81SSH_DEPRECATED LIBSSH_API
int channel_request_pty_size(
ssh_channel channel,
const char *term,
83SSH_DEPRECATED LIBSSH_API
int channel_request_shell(
ssh_channel channel);
84SSH_DEPRECATED LIBSSH_API
int channel_request_send_signal(
ssh_channel channel,
const char *signum);
85SSH_DEPRECATED LIBSSH_API
int channel_request_sftp(
ssh_channel channel);
86SSH_DEPRECATED LIBSSH_API
int channel_request_subsystem(
ssh_channel channel,
const char *subsystem);
87SSH_DEPRECATED LIBSSH_API
int channel_request_x11(
ssh_channel channel,
int single_connection,
const char *protocol,
88 const char *cookie,
int screen_number);
89SSH_DEPRECATED LIBSSH_API
int channel_send_eof(
ssh_channel channel);
92SSH_DEPRECATED LIBSSH_API
void channel_set_blocking(
ssh_channel channel,
int blocking);
93SSH_DEPRECATED LIBSSH_API
int channel_write(
ssh_channel channel,
const void *data, uint32_t len);
97 int type,
const char *passphrase);
99SSH_DEPRECATED LIBSSH_API
int ssh_publickey_to_file(
ssh_session session,
const char *file,
105SSH_DEPRECATED LIBSSH_API
int ssh_try_publickey_from_file(
ssh_session session,
const char *keyfile,
107SSH_DEPRECATED LIBSSH_API
enum ssh_keytypes_e ssh_privatekey_type(
ssh_private_key privatekey);
114SSH_DEPRECATED LIBSSH_API
void string_burn(
ssh_string str);
116SSH_DEPRECATED LIBSSH_API
void *string_data(
ssh_string str);
117SSH_DEPRECATED LIBSSH_API
int string_fill(
ssh_string str,
const void *data,
size_t len);
118SSH_DEPRECATED LIBSSH_API
void string_free(
ssh_string str);
119SSH_DEPRECATED LIBSSH_API
ssh_string string_from_char(
const char *what);
120SSH_DEPRECATED LIBSSH_API
size_t string_len(
ssh_string str);
121SSH_DEPRECATED LIBSSH_API
ssh_string string_new(
size_t size);
122SSH_DEPRECATED LIBSSH_API
char *string_to_char(
ssh_string str);
SSH_DEPRECATED LIBSSH_API int channel_read_buffer(ssh_channel channel, ssh_buffer buffer, uint32_t count, int is_stderr)
Read data from a channel into a buffer.
Definition channels.c:2838