• Home
  • Raw
  • Download

Lines Matching defs:ssh_conn

115 struct ssh_conn {  struct
116 const char *authlist; /* List of auth. methods, managed by libssh2 */
119 const char *passphrase; /* pass-phrase to use */
120 char *rsa_pub; /* path name */
121 char *rsa; /* path name */
122 bool authed; /* the connection has been authenticated fine */
123 sshstate state; /* always use ssh.c:state() to change state! */
124 sshstate nextstate; /* the state to goto after stopping */
125 CURLcode actualcode; /* the actual error code */
126 struct curl_slist *quote_item; /* for the quote option */
127 char *quote_path1; /* two generic pointers for the QUOTE stuff */
128 char *quote_path2;
130 bool acceptfail; /* used by the SFTP_QUOTE (continue if
132 char *homedir; /* when doing SFTP we figure out home dir in the
134 size_t readdir_len, readdir_totalLen, readdir_currLen;
135 char *readdir_line;
136 char *readdir_linkPath;
139 int secondCreateDirs; /* counter use by the code to see if the
142 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */
144 int orig_waitfor; /* default READ/WRITE bits wait for */
148 unsigned kbd_state; /* 0 or 1 */
149 ssh_key privkey;
150 ssh_key pubkey;
151 int auth_methods;
152 ssh_session ssh_session;
153 ssh_scp scp_session;
154 sftp_session sftp_session;
155 sftp_file sftp_file;
156 sftp_dir sftp_dir;
158 unsigned sftp_recv_state; /* 0 or 1 */
159 int sftp_file_index; /* for async read */
160 sftp_attributes readdir_attrs; /* used by the SFTP readdir actions */
161 sftp_attributes readdir_link_attrs; /* used by the SFTP readdir actions */
162 sftp_attributes quote_attrs; /* used by the SFTP_QUOTE state */
164 const char *readdir_filename; /* points within readdir_attrs */
165 const char *readdir_longentry;
166 char *readdir_tmp;
168 char *readdir_filename;
169 char *readdir_longentry;
171 LIBSSH2_SFTP_ATTRIBUTES quote_attrs; /* used by the SFTP_QUOTE state */
174 LIBSSH2_SFTP_ATTRIBUTES readdir_attrs;
175 LIBSSH2_SESSION *ssh_session; /* Secure Shell session */
176 LIBSSH2_CHANNEL *ssh_channel; /* Secure Shell channel handle */
177 LIBSSH2_SFTP *sftp_session; /* SFTP handle */
178 LIBSSH2_SFTP_HANDLE *sftp_handle;
181 LIBSSH2_AGENT *ssh_agent; /* proxy to ssh-agent/pageant */
182 struct libssh2_agent_publickey *sshagent_identity,
183 *sshagent_prev_identity;
189 LIBSSH2_KNOWNHOSTS *kh;