Lines Matching defs:ssh_conn

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