211
211
mp_int *dh_e, *dh_x; /* Used during KEX */
212
212
cli_kex_state kex_state; /* Used for progressing KEX */
213
213
cli_state state; /* Used to progress auth/channelsession etc */
215
214
unsigned donefirstkex : 1; /* Set when we set sentnewkeys, never reset */
217
216
int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */
218
217
struct termios saved_tio;
222
225
int winchange; /* Set to 1 when a windowchange signal happens */
224
227
int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
225
228
for the last type of auth we tried */
228
238
int retval; /* What the command exit status was - we emulate it */