sftpfs_super 406 src/vfs/sftpfs/config_parser.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 415 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type = (config_entity->pubkey_auth) ? PUBKEY : 0; sftpfs_super 416 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->identities_only) ? 0 : AGENT; sftpfs_super 417 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->password_auth) ? PASSWORD : 0; sftpfs_super 437 src/vfs/sftpfs/config_parser.c sftpfs_super->privkey = g_strdup (config_entity->identity_file); sftpfs_super 438 src/vfs/sftpfs/config_parser.c sftpfs_super->pubkey = g_strdup_printf ("%s.pub", config_entity->identity_file); sftpfs_super 133 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 189 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = sftpfs_super 194 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = sftpfs_super 199 src/vfs/sftpfs/connection.c sftpfs_super->ip_address = NULL; sftpfs_super 202 src/vfs/sftpfs/connection.c if (sftpfs_super->ip_address == NULL) sftpfs_super 265 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 270 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts = libssh2_knownhost_init (sftpfs_super->session); sftpfs_super 271 src/vfs/sftpfs/connection.c if (sftpfs_super->known_hosts == NULL) sftpfs_super 274 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts_file = sftpfs_super 276 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_readfile (sftpfs_super->known_hosts, sftpfs_super->known_hosts_file, sftpfs_super 282 src/vfs/sftpfs/connection.c while (!found && libssh2_knownhost_get (sftpfs_super->known_hosts, &store, store) == 0) sftpfs_super 368 src/vfs/sftpfs/connection.c rc = libssh2_session_method_pref (sftpfs_super->session, LIBSSH2_METHOD_HOSTKEY, sftpfs_super 381 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 382 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 404 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 408 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_addc (sftpfs_super->known_hosts, super->path_element->host, NULL, sftpfs_super 414 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_writefile (sftpfs_super->known_hosts, sftpfs_super->known_hosts_file, sftpfs_super 422 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); sftpfs_super 469 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 481 src/vfs/sftpfs/connection.c remote_key = libssh2_session_hostkey (sftpfs_super->session, &remote_key_len, &remote_key_type); sftpfs_super 529 src/vfs/sftpfs/connection.c fingerprint_hash = sftpfs_compute_fingerprint_hash (sftpfs_super->session); sftpfs_super 537 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts, super->path_element->host, super->path_element->port, remote_key, sftpfs_super 558 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address, key_type, fingerprint_hash); sftpfs_super 571 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); sftpfs_super 607 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 608 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 626 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 630 src/vfs/sftpfs/connection.c userauthlist = libssh2_userauth_list (sftpfs_super->session, super->path_element->user, sftpfs_super 638 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PASSWORD) != 0) sftpfs_super 639 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PASSWORD; sftpfs_super 642 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PUBKEY) != 0) sftpfs_super 643 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PUBKEY; sftpfs_super 645 src/vfs/sftpfs/connection.c if ((sftpfs_super->config_auth_type & AGENT) != 0) sftpfs_super 646 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= AGENT; sftpfs_super 663 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 669 src/vfs/sftpfs/connection.c sftpfs_super->agent = NULL; sftpfs_super 671 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & AGENT) == 0) sftpfs_super 675 src/vfs/sftpfs/connection.c sftpfs_super->agent = libssh2_agent_init (sftpfs_super->session); sftpfs_super 676 src/vfs/sftpfs/connection.c if (sftpfs_super->agent == NULL) sftpfs_super 679 src/vfs/sftpfs/connection.c if (libssh2_agent_connect (sftpfs_super->agent) != 0) sftpfs_super 682 src/vfs/sftpfs/connection.c if (libssh2_agent_list_identities (sftpfs_super->agent) != 0) sftpfs_super 687 src/vfs/sftpfs/connection.c rc = libssh2_agent_get_identity (sftpfs_super->agent, &identity, prev_identity); sftpfs_super 694 src/vfs/sftpfs/connection.c if (libssh2_agent_userauth (sftpfs_super->agent, super->path_element->user, identity) == 0) sftpfs_super 715 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 721 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PUBKEY) == 0) sftpfs_super 724 src/vfs/sftpfs/connection.c if (sftpfs_super->privkey == NULL) sftpfs_super 727 src/vfs/sftpfs/connection.c if (libssh2_userauth_publickey_fromfile (sftpfs_super->session, super->path_element->user, sftpfs_super 728 src/vfs/sftpfs/connection.c sftpfs_super->pubkey, sftpfs_super->privkey, sftpfs_super 742 src/vfs/sftpfs/connection.c sftpfs_super->session, super->path_element->user, sftpfs_super->pubkey, sftpfs_super 743 src/vfs/sftpfs/connection.c sftpfs_super->privkey, passwd) sftpfs_super 807 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 814 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PASSWORD) == 0) sftpfs_super 819 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 829 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 850 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 860 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 898 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 906 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = sftpfs_open_socket (super, mcerror); sftpfs_super 907 src/vfs/sftpfs/connection.c if (sftpfs_super->socket_handle == LIBSSH2_INVALID_SOCKET) sftpfs_super 911 src/vfs/sftpfs/connection.c sftpfs_super->session = libssh2_session_init (); sftpfs_super 912 src/vfs/sftpfs/connection.c if (sftpfs_super->session == NULL) sftpfs_super 921 src/vfs/sftpfs/connection.c while ((rc = 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 83 src/vfs/sftpfs/dir.c handle = libssh2_sftp_open_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, 0, sftpfs_super 88 src/vfs/sftpfs/dir.c libssh_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 89 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, libssh_errno, mcerror)) sftpfs_super 95 src/vfs/sftpfs/dir.c sftpfs_dir->super = sftpfs_super; sftpfs_super 169 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 173 src/vfs/sftpfs/dir.c if (!sftpfs_op_init (&sftpfs_super, &path_element, vpath, mcerror)) sftpfs_super 181 src/vfs/sftpfs/dir.c libssh2_sftp_mkdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, mode); sftpfs_super 185 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 206 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 210 src/vfs/sftpfs/dir.c if (!sftpfs_op_init (&sftpfs_super, &path_element, vpath, mcerror)) sftpfs_super 217 src/vfs/sftpfs/dir.c res = libssh2_sftp_rmdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len); sftpfs_super 221 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 231 src/vfs/sftpfs/file.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 246 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);