comparison session.h @ 727:00bc3df3a9c3

Don't bother waiting for a ssh-connection service reply - the server will disconnect if it wasn't accepted
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 21:38:17 +0800
parents 78eda530c000
children 70811267715c 09c5eb71ec96
comparison
equal deleted inserted replaced
726:78eda530c000 727:00bc3df3a9c3
234 KEXDONE 234 KEXDONE
235 } cli_kex_state; 235 } cli_kex_state;
236 236
237 typedef enum { 237 typedef enum {
238 STATE_NOTHING, 238 STATE_NOTHING,
239 SERVICE_AUTH_REQ_SENT,
240 SERVICE_AUTH_ACCEPT_RCVD,
241 SERVICE_CONN_REQ_SENT,
242 SERVICE_CONN_ACCEPT_RCVD,
243 USERAUTH_REQ_SENT, 239 USERAUTH_REQ_SENT,
244 USERAUTH_FAIL_RCVD, 240 USERAUTH_FAIL_RCVD,
245 USERAUTH_SUCCESS_RCVD, 241 USERAUTH_SUCCESS_RCVD,
246 SESSION_RUNNING 242 SESSION_RUNNING
247 } cli_state; 243 } cli_state;