Lines Matching defs:ssh_conn

137 struct ssh_conn {  struct
138 const char *authlist; /* List of auth. methods, managed by libssh2 */
141 const char *passphrase; /* pass-phrase to use */
142 char *rsa_pub; /* strdup'ed public key file */
143 char *rsa; /* strdup'ed private key file */
144 bool authed; /* the connection has been authenticated fine */
145 bool acceptfail; /* used by the SFTP_QUOTE (continue if
147 sshstate state; /* always use ssh.c:state() to change state! */
148 sshstate nextstate; /* the state to goto after stopping */
149 CURLcode actualcode; /* the actual error code */
150 struct curl_slist *quote_item; /* for the quote option */
151 char *quote_path1; /* two generic pointers for the QUOTE stuff */
152 char *quote_path2;
154 char *homedir; /* when doing SFTP we figure out home dir in the
158 int secondCreateDirs; /* counter use by the code to see if the
161 int orig_waitfor; /* default READ/WRITE bits wait for */
162 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */
165 char *readdir_linkPath;
166 size_t readdir_len;
167 struct dynbuf readdir_buf;
169 unsigned kbd_state; /* 0 or 1 */
170 ssh_key privkey;
171 ssh_key pubkey;
172 unsigned int auth_methods;
173 ssh_session ssh_session;
174 ssh_scp scp_session;
175 sftp_session sftp_session;
176 sftp_file sftp_file;
177 sftp_dir sftp_dir;
179 unsigned sftp_recv_state; /* 0 or 1 */
180 int sftp_file_index; /* for async read */
181 sftp_attributes readdir_attrs; /* used by the SFTP readdir actions */
182 sftp_attributes readdir_link_attrs; /* used by the SFTP readdir actions */
183 sftp_attributes quote_attrs; /* used by the SFTP_QUOTE state */
185 const char *readdir_filename; /* points within readdir_attrs */
186 const char *readdir_longentry;
187 char *readdir_tmp;
189 LIBSSH2_SESSION *ssh_session; /* Secure Shell session */
190 LIBSSH2_CHANNEL *ssh_channel; /* Secure Shell channel handle */
191 LIBSSH2_SFTP *sftp_session; /* SFTP handle */
192 LIBSSH2_SFTP_HANDLE *sftp_handle;
196 Curl_recv *tls_recv;
197 Curl_send *tls_send;
201 LIBSSH2_AGENT *ssh_agent; /* proxy to ssh-agent/pageant */
202 struct libssh2_agent_publickey *sshagent_identity,
203 *sshagent_prev_identity;
209 LIBSSH2_KNOWNHOSTS *kh;
212 WOLFSSH *ssh_session;
213 WOLFSSH_CTX *ctx;
214 word32 handleSz;
215 byte handle[WOLFSSH_MAX_HANDLE];
216 curl_off_t offset;