sftpfs_super 375 src/vfs/sftpfs/config_parser.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 384 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type = (config_entity->pubkey_auth) ? PUBKEY : 0; sftpfs_super 385 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->identities_only) ? 0 : AGENT; sftpfs_super 386 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->password_auth) ? PASSWORD : 0; sftpfs_super 403 src/vfs/sftpfs/config_parser.c sftpfs_super->privkey = g_strdup (config_entity->identity_file); sftpfs_super 404 src/vfs/sftpfs/config_parser.c sftpfs_super->pubkey = g_strdup_printf ("%s.pub", config_entity->identity_file); sftpfs_super 135 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 191 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = sftpfs_super 196 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = sftpfs_super 201 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = NULL; sftpfs_super 204 src/vfs/sftpfs/connection.c if (sftpfs_super->ip_address == NULL) sftpfs_super 266 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 271 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts = libssh2_knownhost_init (sftpfs_super->session); sftpfs_super 272 src/vfs/sftpfs/connection.c if (sftpfs_super->known_hosts == NULL) sftpfs_super 275 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts_file = sftpfs_super 277 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_readfile (sftpfs_super->known_hosts, sftpfs_super->known_hosts_file, sftpfs_super 283 src/vfs/sftpfs/connection.c while (!found && libssh2_knownhost_get (sftpfs_super->known_hosts, &store, store) == 0) sftpfs_super 369 src/vfs/sftpfs/connection.c rc = libssh2_session_method_pref (sftpfs_super->session, LIBSSH2_METHOD_HOSTKEY, sftpfs_super 382 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 383 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 405 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 409 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_addc (sftpfs_super->known_hosts, super->path_element->host, NULL, sftpfs_super 415 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_writefile (sftpfs_super->known_hosts, sftpfs_super->known_hosts_file, sftpfs_super 423 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); sftpfs_super 470 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 482 src/vfs/sftpfs/connection.c remote_key = libssh2_session_hostkey (sftpfs_super->session, &remote_key_len, &remote_key_type); sftpfs_super 530 src/vfs/sftpfs/connection.c fingerprint_hash = sftpfs_compute_fingerprint_hash (sftpfs_super->session); sftpfs_super 537 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_checkp (sftpfs_super->known_hosts, super->path_element->host, sftpfs_super 558 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address, sftpfs_super 571 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); sftpfs_super 606 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 607 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 625 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 629 src/vfs/sftpfs/connection.c userauthlist = libssh2_userauth_list (sftpfs_super->session, super->path_element->user, sftpfs_super 637 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PASSWORD) != 0) sftpfs_super 638 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PASSWORD; sftpfs_super 641 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PUBKEY) != 0) sftpfs_super 642 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PUBKEY; sftpfs_super 644 src/vfs/sftpfs/connection.c if ((sftpfs_super->config_auth_type & AGENT) != 0) sftpfs_super 645 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= AGENT; sftpfs_super 662 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 668 src/vfs/sftpfs/connection.c sftpfs_super->agent = NULL; sftpfs_super 670 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & AGENT) == 0) sftpfs_super 674 src/vfs/sftpfs/connection.c sftpfs_super->agent = libssh2_agent_init (sftpfs_super->session); sftpfs_super 675 src/vfs/sftpfs/connection.c if (sftpfs_super->agent == NULL) sftpfs_super 678 src/vfs/sftpfs/connection.c if (libssh2_agent_connect (sftpfs_super->agent) != 0) sftpfs_super 681 src/vfs/sftpfs/connection.c if (libssh2_agent_list_identities (sftpfs_super->agent) != 0) sftpfs_super 686 src/vfs/sftpfs/connection.c rc = libssh2_agent_get_identity (sftpfs_super->agent, &identity, prev_identity); sftpfs_super 693 src/vfs/sftpfs/connection.c if (libssh2_agent_userauth (sftpfs_super->agent, super->path_element->user, identity) == 0) sftpfs_super 714 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 720 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PUBKEY) == 0) sftpfs_super 723 src/vfs/sftpfs/connection.c if (sftpfs_super->privkey == NULL) sftpfs_super 726 src/vfs/sftpfs/connection.c if (libssh2_userauth_publickey_fromfile (sftpfs_super->session, super->path_element->user, sftpfs_super 727 src/vfs/sftpfs/connection.c sftpfs_super->pubkey, sftpfs_super->privkey, sftpfs_super 739 src/vfs/sftpfs/connection.c ret_value = (libssh2_userauth_publickey_fromfile (sftpfs_super->session, sftpfs_super 741 src/vfs/sftpfs/connection.c sftpfs_super->pubkey, sftpfs_super 742 src/vfs/sftpfs/connection.c sftpfs_super->privkey, passwd) == 0); sftpfs_super 806 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 813 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PASSWORD) == 0) sftpfs_super 818 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 828 src/vfs/sftpfs/connection.c libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 849 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 859 src/vfs/sftpfs/connection.c libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 897 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 905 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = sftpfs_open_socket (super, mcerror); sftpfs_super 906 src/vfs/sftpfs/connection.c if (sftpfs_super->socket_handle == LIBSSH2_INVALID_SOCKET) sftpfs_super 910 src/vfs/sftpfs/connection.c sftpfs_super->session = libssh2_session_init (); sftpfs_super 911 src/vfs/sftpfs/connection.c if (sftpfs_super->session == NULL) sftpfs_super 921 src/vfs/sftpfs/connection.c libssh2_session_handshake (sftpfs_super->session, sftpfs_super 922 src/vfs/sftpfs/connection.c (libssh2_socket_t) sftpfs_super->socket_handle)) == sftpfs_super 938 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 939 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 948 src/vfs/sftpfs/connection.c sftpfs_super->sftp_session = libssh2_sftp_init (sftpfs_super->session); sftpfs_super 950 src/vfs/sftpfs/connection.c if (sftpfs_super->sftp_session == NULL) sftpfs_super 954 src/vfs/sftpfs/connection.c libssh2_session_set_blocking (sftpfs_super->session, 1); sftpfs_super 971 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 976 src/vfs/sftpfs/connection.c if (sftpfs_super->sftp_session != NULL) sftpfs_super 978 src/vfs/sftpfs/connection.c libssh2_sftp_shutdown (sftpfs_super->sftp_session); sftpfs_super 979 src/vfs/sftpfs/connection.c sftpfs_super->sftp_session = NULL; sftpfs_super 982 src/vfs/sftpfs/connection.c if (sftpfs_super->agent != NULL) sftpfs_super 984 src/vfs/sftpfs/connection.c libssh2_agent_disconnect (sftpfs_super->agent); sftpfs_super 985 src/vfs/sftpfs/connection.c libssh2_agent_free (sftpfs_super->agent); sftpfs_super 986 src/vfs/sftpfs/connection.c sftpfs_super->agent = NULL; sftpfs_super 989 src/vfs/sftpfs/connection.c if (sftpfs_super->known_hosts != NULL) sftpfs_super 991 src/vfs/sftpfs/connection.c libssh2_knownhost_free (sftpfs_super->known_hosts); sftpfs_super 992 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts = NULL; sftpfs_super 995 src/vfs/sftpfs/connection.c MC_PTR_FREE (sftpfs_super->known_hosts_file); sftpfs_super 997 src/vfs/sftpfs/connection.c if (sftpfs_super->session != NULL) sftpfs_super 999 src/vfs/sftpfs/connection.c libssh2_session_disconnect (sftpfs_super->session, shutdown_message); sftpfs_super 1000 src/vfs/sftpfs/connection.c libssh2_session_free (sftpfs_super->session); sftpfs_super 1001 src/vfs/sftpfs/connection.c sftpfs_super->session = NULL; sftpfs_super 1004 src/vfs/sftpfs/connection.c if (sftpfs_super->socket_handle != LIBSSH2_INVALID_SOCKET) sftpfs_super 1006 src/vfs/sftpfs/connection.c close (sftpfs_super->socket_handle); sftpfs_super 1007 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = LIBSSH2_INVALID_SOCKET; sftpfs_super 69 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 74 src/vfs/sftpfs/dir.c if (!sftpfs_op_init (&sftpfs_super, &path_element, vpath, mcerror)) sftpfs_super 84 src/vfs/sftpfs/dir.c libssh2_sftp_open_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, 0, 0, sftpfs_super 89 src/vfs/sftpfs/dir.c libssh_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 90 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, libssh_errno, mcerror)) sftpfs_super 96 src/vfs/sftpfs/dir.c sftpfs_dir->super = sftpfs_super; sftpfs_super 170 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 174 src/vfs/sftpfs/dir.c if (!sftpfs_op_init (&sftpfs_super, &path_element, vpath, mcerror)) sftpfs_super 182 src/vfs/sftpfs/dir.c libssh2_sftp_mkdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, mode); sftpfs_super 186 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 207 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 211 src/vfs/sftpfs/dir.c if (!sftpfs_op_init (&sftpfs_super, &path_element, vpath, mcerror)) sftpfs_super 218 src/vfs/sftpfs/dir.c res = libssh2_sftp_rmdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len); sftpfs_super 222 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 230 src/vfs/sftpfs/file.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 245 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (sftpfs_super, res, mcerror); sftpfs_super 733 src/vfs/sftpfs/sftpfs.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 745 src/vfs/sftpfs/sftpfs.c sftpfs_super->original_connection_info = vfs_path_element_clone (vpath_element);