Lines Matching refs:ssh
40 struct ssh;
106 int (*userauth)(struct ssh *, const char *);
129 int auth_password(struct ssh *, const char *);
131 int hostbased_key_allowed(struct ssh *, struct passwd *,
133 int user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *,
153 void do_authentication2(struct ssh *);
155 void auth_log(struct ssh *, int, int, const char *, const char *);
156 void auth_maxtries_exceeded(struct ssh *) __attribute__((noreturn));
157 void userauth_finish(struct ssh *, int, const char *, const char *);
158 int auth_root_allowed(struct ssh *, const char *);
168 int auth2_challenge(struct ssh *, char *);
169 void auth2_challenge_stop(struct ssh *);
173 int allowed_user(struct ssh *, struct passwd *);
174 struct passwd * getpwnamallow(struct ssh *, const char *user);
181 const char *auth_get_canonical_hostname(struct ssh *, int);
189 struct sshkey *get_hostkey_public_by_index(int, struct ssh *);
190 struct sshkey *get_hostkey_public_by_type(int, int, struct ssh *);
191 struct sshkey *get_hostkey_private_by_type(int, int, struct ssh *);
192 int get_hostkey_index(struct sshkey *, int, struct ssh *);
193 int sshd_hostkey_sign(struct ssh *, struct sshkey *, struct sshkey *,
197 int auth_activate_options(struct ssh *, struct sshauthopt *);
198 void auth_restrict_session(struct ssh *);
204 void auth_debug_send(struct ssh *);