Lines Matching refs:ssh
48 struct ssh;
121 int (*userauth)(struct ssh *, const char *);
144 int auth_password(struct ssh *, const char *);
146 int hostbased_key_allowed(struct ssh *, struct passwd *,
148 int user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *,
164 int auth_krb5(struct ssh *, krb5_data *auth, char **client, krb5_data *);
170 void do_authentication2(struct ssh *);
172 void auth_log(struct ssh *, int, int, const char *, const char *);
173 void auth_maxtries_exceeded(struct ssh *) __attribute__((noreturn));
174 void userauth_finish(struct ssh *, int, const char *, const char *);
175 int auth_root_allowed(struct ssh *, const char *);
185 int auth2_challenge(struct ssh *, char *);
186 void auth2_challenge_stop(struct ssh *);
190 int allowed_user(struct ssh *, struct passwd *);
191 struct passwd * getpwnamallow(struct ssh *, const char *user);
198 const char *auth_get_canonical_hostname(struct ssh *, int);
206 struct sshkey *get_hostkey_public_by_index(int, struct ssh *);
207 struct sshkey *get_hostkey_public_by_type(int, int, struct ssh *);
208 struct sshkey *get_hostkey_private_by_type(int, int, struct ssh *);
209 int get_hostkey_index(struct sshkey *, int, struct ssh *);
210 int sshd_hostkey_sign(struct ssh *, struct sshkey *, struct sshkey *,
214 int auth_activate_options(struct ssh *, struct sshauthopt *);
215 void auth_restrict_session(struct ssh *);
221 void auth_debug_send(struct ssh *);