LibsshBinding class
Bindings to libssh - The SSH library! libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel https://www.libssh.org/
- Available Extensions
Constructors
- LibsshBinding(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary
. -
LibsshBinding.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ssh_logging_callback1 ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sftp_async_read(
sftp_file file, Pointer< Void> data, int len, int id) → int - @brief Wait for an asynchronous read to complete and save the data.
-
sftp_async_read_begin(
sftp_file file, int len) → int - @brief Start an asynchronous read from a file using an opened sftp file handle.
-
sftp_attributes_free(
sftp_attributes file) → void - @brief Free a sftp attribute structure.
-
sftp_canonicalize_path(
sftp_session sftp, Pointer< Int8> path) → Pointer<Int8> - @brief Canonicalize a sftp path.
-
sftp_chmod(
sftp_session sftp, Pointer< Int8> file, int mode) → int - @brief Change permissions of a file
-
sftp_chown(
sftp_session sftp, Pointer< Int8> file, int owner, int group) → int - @brief Change the file owner and group
-
sftp_client_message_free(
sftp_client_message msg) → void -
sftp_client_message_get_data(
sftp_client_message msg) → Pointer< Int8> -
sftp_client_message_get_filename(
sftp_client_message msg) → Pointer< Int8> -
sftp_client_message_get_flags(
sftp_client_message msg) → int -
sftp_client_message_get_submessage(
sftp_client_message msg) → Pointer< Int8> -
sftp_client_message_get_type(
sftp_client_message msg) → int -
sftp_client_message_set_filename(
sftp_client_message msg, Pointer< Int8> newname) → void -
sftp_close(
sftp_file file) → int - @brief Close an open file handle.
-
sftp_closedir(
sftp_dir dir) → int - @brief Close a directory handle opened by sftp_opendir().
-
sftp_dir_eof(
sftp_dir dir) → int - @brief Tell if the directory has reached EOF (End Of File).
-
sftp_extension_supported(
sftp_session sftp, Pointer< Int8> name, Pointer<Int8> data) → int - @brief Check if the given extension is supported.
-
sftp_extensions_get_count(
sftp_session sftp) → int - @brief Get the count of extensions provided by the server.
-
sftp_extensions_get_data(
sftp_session sftp, int indexn) → Pointer< Int8> - @brief Get the data of the extension provided by the server.
-
sftp_extensions_get_name(
sftp_session sftp, int indexn) → Pointer< Int8> - @brief Get the name of the extension provided by the server.
-
sftp_file_set_blocking(
sftp_file handle) → void - @brief Make the sftp communication for this file handle blocking.
-
sftp_file_set_nonblocking(
sftp_file handle) → void - @brief Make the sftp communication for this file handle non blocking.
-
sftp_free(
sftp_session sftp) → void - @brief Close and deallocate a sftp session.
-
sftp_fstat(
sftp_file file) → sftp_attributes - @brief Get information about a file or directory from a file handle.
-
sftp_fstatvfs(
sftp_file file) → sftp_statvfs_t - @brief Get information about a mounted file system.
-
sftp_fsync(
sftp_file file) → int - @brief Synchronize a file's in-core state with storage device
-
sftp_get_client_message(
sftp_session sftp) → sftp_client_message -
sftp_get_error(
sftp_session sftp) → int - @brief Get the last sftp error.
-
sftp_handle(
sftp_session sftp, ssh_string handle) → Pointer< Void> -
sftp_handle_alloc(
sftp_session sftp, Pointer< Void> info) → ssh_string -
sftp_handle_remove(
sftp_session sftp, Pointer< Void> handle) → void -
sftp_init(
sftp_session sftp) → int - @brief Initialize the sftp protocol with the server.
-
sftp_lstat(
sftp_session session, Pointer< Int8> path) → sftp_attributes - @brief Get information about a file or directory.
-
sftp_mkdir(
sftp_session sftp, Pointer< Int8> directory, int mode) → int - @brief Create a directory.
-
sftp_new(
ssh_session session) → sftp_session - @brief Creates a new sftp session.
-
sftp_new_channel(
ssh_session session, ssh_channel channel) → sftp_session - @brief Start a new sftp session with an existing channel.
-
sftp_open(
sftp_session session, Pointer< Int8> file, int accesstype, int mode) → sftp_file - @brief Open a file on the server.
-
sftp_opendir(
sftp_session session, Pointer< Int8> path) → sftp_dir - @brief Open a directory used to obtain directory entries.
-
sftp_read(
sftp_file file, Pointer< Void> buf, int count) → int - @brief Read from a file using an opened sftp file handle.
-
sftp_readdir(
sftp_session session, sftp_dir dir) → sftp_attributes - @brief Get a single file attributes structure of a directory.
-
sftp_readlink(
sftp_session sftp, Pointer< Int8> path) → Pointer<Int8> - @brief Read the value of a symbolic link.
-
sftp_rename(
sftp_session sftp, Pointer< Int8> original, Pointer<Int8> newname) → int - @brief Rename or move a file or directory.
-
sftp_reply_attr(
sftp_client_message msg, sftp_attributes attr) → int -
sftp_reply_data(
sftp_client_message msg, Pointer< Void> data, int len) → int -
sftp_reply_handle(
sftp_client_message msg, ssh_string handle) → int -
sftp_reply_name(
sftp_client_message msg, Pointer< Int8> name, sftp_attributes attr) → int -
sftp_reply_names(
sftp_client_message msg) → int -
sftp_reply_names_add(
sftp_client_message msg, Pointer< Int8> file, Pointer<Int8> longname, sftp_attributes attr) → int -
sftp_reply_status(
sftp_client_message msg, int status, Pointer< Int8> message) → int -
sftp_rewind(
sftp_file file) → void - @brief Rewinds the position of the file pointer to the beginning of the file.
-
sftp_rmdir(
sftp_session sftp, Pointer< Int8> directory) → int - @brief Remove a directoy.
-
sftp_seek(
sftp_file file, int new_offset) → int - @brief Seek to a specific location in a file.
-
sftp_seek64(
sftp_file file, int new_offset) → int - @brief Seek to a specific location in a file. This is the 64bit version.
-
sftp_send_client_message(
sftp_session sftp, sftp_client_message msg) → int -
sftp_server_version(
sftp_session sftp) → int - @brief Get the version of the SFTP protocol supported by the server
-
sftp_setstat(
sftp_session sftp, Pointer< Int8> file, sftp_attributes attr) → int - @brief Set file attributes on a file, directory or symbolic link.
-
sftp_stat(
sftp_session session, Pointer< Int8> path) → sftp_attributes - @brief Get information about a file or directory.
-
sftp_statvfs(
sftp_session sftp, Pointer< Int8> path) → sftp_statvfs_t - @brief Get information about a mounted file system.
-
sftp_statvfs_free(
sftp_statvfs_t statvfs_o) → void - @brief Free the memory of an allocated statvfs.
-
sftp_symlink(
sftp_session sftp, Pointer< Int8> target, Pointer<Int8> dest) → int - @brief Create a symbolic link.
-
sftp_tell(
sftp_file file) → int - @brief Report current byte position in file.
-
sftp_tell64(
sftp_file file) → int - @brief Report current byte position in file.
-
sftp_unlink(
sftp_session sftp, Pointer< Int8> file) → int - @brief Unlink (delete) a file.
-
sftp_utimes(
sftp_session sftp, Pointer< Int8> file, Pointer<timeval> times) → int - @brief Change the last modification and access time of a file.
-
sftp_write(
sftp_file file, Pointer< Void> buf, int count) → int - @brief Write to a file using an opened sftp file handle.
-
ssh_add_channel_callbacks(
Pointer< ssh_channel> channel, ssh_channel_callbacks cb) → int - @brief Add channel callback functions
-
ssh_basename(
Pointer< Int8> path) → Pointer<Int8> -
ssh_blocking_flush(
ssh_session session, int timeout) → int - ******************************** FIM CALLBACKS ******************************************
-
ssh_buffer_add_data(
ssh_buffer buffer, Pointer< Void> data, int len) → int -
ssh_buffer_free(
ssh_buffer buffer) → void -
ssh_buffer_get(
ssh_buffer buffer) → Pointer< Void> -
ssh_buffer_get_data(
ssh_buffer buffer, Pointer< Void> data, int requestedlen) → int -
ssh_buffer_get_len(
ssh_buffer buffer) → int -
ssh_buffer_new(
) → ssh_buffer -
ssh_buffer_reinit(
ssh_buffer buffer) → int -
ssh_channel_accept_forward(
ssh_session session, int timeout_ms, Pointer< Int32> destination_port) → ssh_channel -
ssh_channel_accept_x11(
ssh_channel channel, int timeout_ms) → ssh_channel -
ssh_channel_cancel_forward(
ssh_session session, Pointer< Int8> address, int port) → int -
ssh_channel_change_pty_size(
ssh_channel channel, int cols, int rows) → int -
ssh_channel_close(
ssh_channel channel) → int -
ssh_channel_free(
ssh_channel channel) → void -
ssh_channel_get_exit_status(
ssh_channel channel) → int -
ssh_channel_get_session(
ssh_channel channel) → ssh_session -
ssh_channel_is_closed(
ssh_channel channel) → int -
ssh_channel_is_eof(
ssh_channel channel) → int -
ssh_channel_is_open(
ssh_channel channel) → int -
ssh_channel_listen_forward(
ssh_session session, Pointer< Int8> address, int port, Pointer<Int32> bound_port) → int -
ssh_channel_new(
ssh_session session) → ssh_channel -
ssh_channel_open_auth_agent(
ssh_channel channel) → int -
ssh_channel_open_forward(
ssh_channel channel, Pointer< Int8> remotehost, int remoteport, Pointer<Int8> sourcehost, int localport) → int -
ssh_channel_open_forward_unix(
ssh_channel channel, Pointer< Int8> remotepath, Pointer<Int8> sourcehost, int localport) → int -
ssh_channel_open_session(
ssh_channel channel) → int -
ssh_channel_open_x11(
ssh_channel channel, Pointer< Int8> orig_addr, int orig_port) → int -
ssh_channel_poll(
ssh_channel channel, int is_stderr) → int -
ssh_channel_poll_timeout(
ssh_channel channel, int timeout, int is_stderr) → int -
ssh_channel_read(
ssh_channel channel, Pointer< Void> dest, int count, int is_stderr) → int -
ssh_channel_read_nonblocking(
ssh_channel channel, Pointer< Void> dest, int count, int is_stderr) → int -
ssh_channel_read_timeout(
ssh_channel channel, Pointer< Void> dest, int count, int is_stderr, int timeout_ms) → int -
ssh_channel_request_auth_agent(
ssh_channel channel) → int -
ssh_channel_request_env(
ssh_channel channel, Pointer< Int8> name, Pointer<Int8> value) → int -
ssh_channel_request_exec(
ssh_channel channel, Pointer< Int8> cmd) → int -
ssh_channel_request_pty(
ssh_channel channel) → int -
ssh_channel_request_pty_size(
ssh_channel channel, Pointer< Int8> term, int cols, int rows) → int -
ssh_channel_request_send_break(
ssh_channel channel, int length) → int -
ssh_channel_request_send_signal(
ssh_channel channel, Pointer< Int8> signum) → int -
ssh_channel_request_sftp(
ssh_channel channel) → int -
ssh_channel_request_shell(
ssh_channel channel) → int -
ssh_channel_request_subsystem(
ssh_channel channel, Pointer< Int8> subsystem) → int -
ssh_channel_request_x11(
ssh_channel channel, int single_connection, Pointer< Int8> protocol, Pointer<Int8> cookie, int screen_number) → int -
ssh_channel_select(
Pointer< ssh_channel> readchans, Pointer<ssh_channel> writechans, Pointer<ssh_channel> exceptchans, Pointer<timeval> timeout) → int -
ssh_channel_send_eof(
ssh_channel channel) → int -
ssh_channel_set_blocking(
ssh_channel channel, int blocking) → void -
ssh_channel_set_counter(
ssh_channel channel, ssh_counter counter) → void -
ssh_channel_window_size(
ssh_channel channel) → int -
ssh_channel_write(
ssh_channel channel, Pointer< Void> data, int len) → int -
ssh_channel_write_stderr(
ssh_channel channel, Pointer< Void> data, int len) → int -
ssh_clean_pubkey_hash(
Pointer< Pointer< hash) → voidUint8> > -
ssh_connect(
ssh_session session) → int -
ssh_connector_free(
ssh_connector connector) → void -
ssh_connector_new(
ssh_session session) → ssh_connector -
ssh_connector_set_in_channel(
ssh_connector connector, ssh_channel channel, int flags) → int -
ssh_connector_set_in_fd(
ssh_connector connector, int fd) → void -
ssh_connector_set_out_channel(
ssh_connector connector, ssh_channel channel, int flags) → int -
ssh_connector_set_out_fd(
ssh_connector connector, int fd) → void -
ssh_copyright(
) → Pointer< Int8> -
ssh_dirname(
Pointer< Int8> path) → Pointer<Int8> -
ssh_disconnect(
ssh_session session) → void -
ssh_dump_knownhost(
ssh_session session) → Pointer< Int8> -
ssh_event_add_connector(
ssh_event event, ssh_connector connector) → int -
ssh_event_add_fd(
ssh_event event, int fd, int events, ssh_event_callback cb, Pointer< Void> userdata) → int -
ssh_event_add_session(
ssh_event event, ssh_session session) → int -
ssh_event_dopoll(
ssh_event event, int timeout) → int -
ssh_event_free(
ssh_event event) → void -
ssh_event_new(
) → ssh_event -
ssh_event_remove_connector(
ssh_event event, ssh_connector connector) → int -
ssh_event_remove_fd(
ssh_event event, int fd) → int -
ssh_event_remove_session(
ssh_event event, ssh_session session) → int -
ssh_finalize(
) → int -
ssh_forward_accept(
ssh_session session, int timeout_ms) → ssh_channel -
ssh_forward_cancel(
ssh_session session, Pointer< Int8> address, int port) → int -
ssh_forward_listen(
ssh_session session, Pointer< Int8> address, int port, Pointer<Int32> bound_port) → int -
ssh_free(
ssh_session session) → void -
ssh_get_cipher_in(
ssh_session session) → Pointer< Int8> -
ssh_get_cipher_out(
ssh_session session) → Pointer< Int8> -
ssh_get_disconnect_message(
ssh_session session) → Pointer< Int8> -
ssh_get_error(
Pointer< Void> error) → Pointer<Int8> -
ssh_get_error_code(
Pointer< Void> error) → int -
ssh_get_fd(
ssh_session session) → int -
ssh_get_fingerprint_hash(
int type, Pointer< Uint8> hash, int len) → Pointer<Int8> -
ssh_get_hexa(
Pointer< Uint8> what, int len) → Pointer<Int8> -
ssh_get_hmac_in(
ssh_session session) → Pointer< Int8> -
ssh_get_hmac_out(
ssh_session session) → Pointer< Int8> -
ssh_get_kex_algo(
ssh_session session) → Pointer< Int8> -
ssh_get_log_level(
) → int -
ssh_get_log_userdata(
) → Pointer< Void> -
ssh_get_openssh_version(
ssh_session session) → int -
ssh_get_poll_flags(
ssh_session session) → int -
ssh_get_pubkey_hash(
ssh_session session, Pointer< Pointer< hash) → intUint8> > -
ssh_get_publickey(
ssh_session session, Pointer< ssh_key> key) → int -
ssh_get_publickey_hash(
ssh_key key, int type, Pointer< Pointer< hash, Pointer<Uint8> >size_t> hlen) → int -
ssh_get_random(
Pointer< Void> where, int len, int strong) → int -
ssh_get_server_publickey(
ssh_session session, Pointer< ssh_key> key) → int -
ssh_get_status(
ssh_session session) → int -
ssh_get_version(
ssh_session session) → int -
ssh_getpass(
Pointer< Int8> prompt, Pointer<Int8> buf, int len, int echo, int verify) → int -
ssh_gssapi_set_creds(
ssh_session session, ssh_gssapi_creds creds) → void -
ssh_init(
) → int -
ssh_is_blocking(
ssh_session session) → int -
ssh_is_connected(
ssh_session session) → int -
ssh_is_server_known(
ssh_session session) → int -
ssh_key_cmp(
ssh_key k1, ssh_key k2, int what) → int -
ssh_key_free(
ssh_key key) → void -
ssh_key_is_private(
ssh_key k) → int -
ssh_key_is_public(
ssh_key k) → int -
ssh_key_new(
) → ssh_key - @}
-
ssh_key_type(
ssh_key key) → int -
ssh_key_type_from_name(
Pointer< Int8> name) → int -
ssh_key_type_to_char(
int type) → Pointer< Int8> -
ssh_known_hosts_parse_line(
Pointer< Int8> host, Pointer<Int8> line, Pointer<Pointer< entry) → intssh_knownhosts_entry> > -
ssh_knownhosts_entry_free(
Pointer< ssh_knownhosts_entry> entry) → void -
ssh_log(
ssh_session session, int prioriry, Pointer< Int8> format) → void -
ssh_message_channel_request_open_reply_accept(
ssh_message msg) → ssh_channel -
ssh_message_channel_request_open_reply_accept_channel(
ssh_message msg, ssh_channel chan) → int -
ssh_message_channel_request_reply_success(
ssh_message msg) → int -
ssh_message_free(
ssh_message msg) → void -
ssh_message_get(
ssh_session session) → ssh_message -
ssh_message_subtype(
ssh_message msg) → int -
ssh_message_type(
ssh_message msg) → int -
ssh_mkdir(
Pointer< Int8> pathname, int mode) → int -
ssh_new(
) → ssh_session -
ssh_options_copy(
ssh_session src, Pointer< ssh_session> dest) → int -
ssh_options_get(
ssh_session session, int type, Pointer< Pointer< value) → intInt8> > -
ssh_options_get_port(
ssh_session session, Pointer< Uint32> port_target) → int -
ssh_options_getopt(
ssh_session session, Pointer< Int32> argcptr, Pointer<Pointer< argv) → intInt8> > -
ssh_options_parse_config(
ssh_session session, Pointer< Int8> filename) → int -
ssh_options_set(
ssh_session session, int type, Pointer< Void> value) → int -
ssh_pcap_file_close(
ssh_pcap_file pcap) → int -
ssh_pcap_file_free(
ssh_pcap_file pcap) → void -
ssh_pcap_file_new(
) → ssh_pcap_file -
ssh_pcap_file_open(
ssh_pcap_file pcap, Pointer< Int8> filename) → int -
ssh_pki_copy_cert_to_privkey(
ssh_key cert_key, ssh_key privkey) → int -
ssh_pki_export_privkey_base64(
ssh_key privkey, Pointer< Int8> passphrase, ssh_auth_callback auth_fn, Pointer<Void> auth_data, Pointer<Pointer< b64_key) → intInt8> > -
ssh_pki_export_privkey_file(
ssh_key privkey, Pointer< Int8> passphrase, ssh_auth_callback auth_fn, Pointer<Void> auth_data, Pointer<Int8> filename) → int -
ssh_pki_export_privkey_to_pubkey(
ssh_key privkey, Pointer< ssh_key> pkey) → int -
ssh_pki_export_pubkey_base64(
ssh_key key, Pointer< Pointer< b64_key) → intInt8> > -
ssh_pki_export_pubkey_file(
ssh_key key, Pointer< Int8> filename) → int -
ssh_pki_generate(
int type, int parameter, Pointer< ssh_key> pkey) → int -
ssh_pki_import_cert_base64(
Pointer< Int8> b64_cert, int type, Pointer<ssh_key> pkey) → int -
ssh_pki_import_cert_file(
Pointer< Int8> filename, Pointer<ssh_key> pkey) → int -
ssh_pki_import_privkey_base64(
Pointer< Int8> b64_key, Pointer<Int8> passphrase, ssh_auth_callback auth_fn, Pointer<Void> auth_data, Pointer<ssh_key> pkey) → int -
ssh_pki_import_privkey_file(
Pointer< Int8> filename, Pointer<Int8> passphrase, ssh_auth_callback auth_fn, Pointer<Void> auth_data, Pointer<ssh_key> pkey) → int -
ssh_pki_import_pubkey_base64(
Pointer< Int8> b64_key, int type, Pointer<ssh_key> pkey) → int -
ssh_pki_import_pubkey_file(
Pointer< Int8> filename, Pointer<ssh_key> pkey) → int -
ssh_pki_key_ecdsa_name(
ssh_key key) → Pointer< Int8> -
ssh_print_hash(
int type, Pointer< Uint8> hash, int len) → void -
ssh_print_hexa(
Pointer< Int8> descr, Pointer<Uint8> what, int len) → void -
ssh_remove_channel_callbacks(
Pointer< ssh_channel> channel, ssh_channel_callbacks cb) → int - @brief Remove a channel callback.
-
ssh_scp_accept_request(
ssh_scp scp) → int -
ssh_scp_close(
ssh_scp scp) → int -
ssh_scp_deny_request(
ssh_scp scp, Pointer< Int8> reason) → int -
ssh_scp_free(
ssh_scp scp) → void -
ssh_scp_init(
ssh_scp scp) → int -
ssh_scp_leave_directory(
ssh_scp scp) → int -
ssh_scp_new(
ssh_session session, int mode, Pointer< Int8> location) → ssh_scp -
ssh_scp_pull_request(
ssh_scp scp) → int -
ssh_scp_push_directory(
ssh_scp scp, Pointer< Int8> dirname, int mode) → int -
ssh_scp_push_file(
ssh_scp scp, Pointer< Int8> filename, int size, int perms) → int -
ssh_scp_push_file64(
ssh_scp scp, Pointer< Int8> filename, int size, int perms) → int -
ssh_scp_read(
ssh_scp scp, Pointer< Void> buffer, int size) → int -
ssh_scp_request_get_filename(
ssh_scp scp) → Pointer< Int8> -
ssh_scp_request_get_permissions(
ssh_scp scp) → int - @brief Convert a scp text mode to an integer.
-
ssh_scp_request_get_size(
ssh_scp scp) → int -
ssh_scp_request_get_size64(
ssh_scp scp) → int -
ssh_scp_request_get_warning(
ssh_scp scp) → Pointer< Int8> -
ssh_scp_write(
ssh_scp scp, Pointer< Void> buffer, int len) → int -
ssh_select(
Pointer< ssh_channel> channels, Pointer<ssh_channel> outchannels, int maxfd, Pointer<fd_set> readfds, Pointer<timeval> timeout) → int -
ssh_send_debug(
ssh_session session, Pointer< Int8> message, int always_display) → int -
ssh_send_ignore(
ssh_session session, Pointer< Int8> data) → int -
ssh_service_request(
ssh_session session, Pointer< Int8> service) → int -
ssh_session_export_known_hosts_entry(
ssh_session session, Pointer< Pointer< pentry_string) → intInt8> > -
ssh_session_get_known_hosts_entry(
ssh_session session, Pointer< Pointer< pentry) → intssh_knownhosts_entry> > -
ssh_session_has_known_hosts_entry(
ssh_session session) → int -
ssh_session_is_known_server(
ssh_session session) → int -
ssh_session_update_known_hosts(
ssh_session session) → int -
ssh_set_agent_channel(
ssh_session session, ssh_channel channel) → int -
ssh_set_agent_socket(
ssh_session session, int fd) → int -
ssh_set_blocking(
ssh_session session, int blocking) → void -
ssh_set_callbacks(
int session, ssh_callbacks cb) → int - @brief Set the session callback functions.
-
ssh_set_channel_callbacks(
Pointer< ssh_channel> channel, ssh_channel_callbacks cb) → int - @brief Set the channel callback functions.
-
ssh_set_counters(
ssh_session session, ssh_counter scounter, ssh_counter rcounter) → void -
ssh_set_fd_except(
ssh_session session) → void -
ssh_set_fd_toread(
ssh_session session) → void -
ssh_set_fd_towrite(
ssh_session session) → void -
ssh_set_log_callback(
ssh_logging_callback cb) → int - @brief Set the logging callback function.
-
ssh_set_log_level(
int level) → int -
ssh_set_log_userdata(
Pointer< Void> data) → int -
ssh_set_pcap_file(
ssh_session session, ssh_pcap_file pcapfile) → int -
ssh_set_server_callbacks(
int session, ssh_server_callbacks cb) → int - @brief Set the session server callback functions.
-
ssh_silent_disconnect(
ssh_session session) → void -
ssh_string_burn(
ssh_string str) → void -
ssh_string_copy(
ssh_string str) → ssh_string -
ssh_string_data(
ssh_string str) → Pointer< Void> -
ssh_string_fill(
ssh_string str, Pointer< Void> data, int len) → int -
ssh_string_free(
ssh_string str) → void -
ssh_string_free_char(
Pointer< Int8> s) → void -
ssh_string_from_char(
Pointer< Int8> what) → ssh_string -
ssh_string_get_char(
ssh_string str) → Pointer< Int8> -
ssh_string_len(
ssh_string str) → int -
ssh_string_new(
int size) → ssh_string -
ssh_string_to_char(
ssh_string str) → Pointer< Int8> -
ssh_threads_get_default(
) → Pointer< Int32> - @brief Returns a pointer to the appropriate callbacks structure for the environment, to be used with ssh_threads_set_callbacks.
-
ssh_threads_get_noop(
) → Pointer< Int32> - @brief Get the noop threads callbacks structure
-
ssh_threads_get_pthread(
) → Pointer< Int32> - @brief Returns a pointer on the pthread threads callbacks, to be used with ssh_threads_set_callbacks.
-
ssh_threads_set_callbacks(
Pointer< ssh_threads_callbacks_struct> cb) → int - @brief Set the thread callbacks structure.
-
ssh_userauth_gssapi(
ssh_session session) → int -
ssh_userauth_kbdint(
ssh_session session, Pointer< Int8> user, Pointer<Int8> submethods) → int -
ssh_userauth_kbdint_getanswer(
ssh_session session, int i) → Pointer< Int8> -
ssh_userauth_kbdint_getinstruction(
ssh_session session) → Pointer< Int8> -
ssh_userauth_kbdint_getname(
ssh_session session) → Pointer< Int8> -
ssh_userauth_kbdint_getnanswers(
ssh_session session) → int -
ssh_userauth_kbdint_getnprompts(
ssh_session session) → int -
ssh_userauth_kbdint_getprompt(
ssh_session session, int i, Pointer< Int8> echo) → Pointer<Int8> -
ssh_userauth_kbdint_setanswer(
ssh_session session, int i, Pointer< Int8> answer) → int -
ssh_userauth_list(
ssh_session session, Pointer< Int8> username) → int -
ssh_userauth_none(
ssh_session session, Pointer< Int8> username) → int -
ssh_userauth_password(
ssh_session session, Pointer< Int8> username, Pointer<Int8> password) → int -
ssh_userauth_publickey(
ssh_session session, Pointer< Int8> username, ssh_key privkey) → int -
ssh_userauth_publickey_auto(
ssh_session session, Pointer< Int8> username, Pointer<Int8> passphrase) → int -
ssh_userauth_try_publickey(
ssh_session session, Pointer< Int8> username, ssh_key pubkey) → int -
ssh_version(
int req_version) → Pointer< Int8> -
ssh_write_knownhost(
ssh_session session) → int -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited