comparison session.h @ 47:4b53a43f0082

- client pubkey auth works - rearrange the runopts code for client and server (hostkey reading is needed by both (if the client is doing pubkey auth. otherwise....))
author Matt Johnston <matt@ucc.asn.au>
date Fri, 06 Aug 2004 16:18:01 +0000
parents 9ee8996a375f
children efb5e0b335cf
comparison
equal deleted inserted replaced
46:3bea78e1b175 47:4b53a43f0082
212 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */ 212 int tty_raw_mode; /* Whether we're in raw mode (and have to clean up) */
213 struct termios saved_tio; 213 struct termios saved_tio;
214 214
215 int winchange; /* Set to 1 when a windowchange signal happens */ 215 int winchange; /* Set to 1 when a windowchange signal happens */
216 216
217 struct PubkeyList *pubkeys; /* Keys to use for public-key auth */
218 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD, 217 int lastauthtype; /* either AUTH_TYPE_PUBKEY or AUTH_TYPE_PASSWORD,
219 for the last type of auth we tried */ 218 for the last type of auth we tried */
220 struct PubkeyList *lastpubkey; 219 struct PubkeyList *lastpubkey;
221 #if 0 220 #if 0
222 TODO 221 TODO