Lines Matching refs:ssh
45 struct ssh;
115 int (*userauth)(struct ssh *, const char *);
138 int auth_password(struct ssh *, const char *);
140 int hostbased_key_allowed(struct ssh *, struct passwd *,
142 int user_key_allowed(struct ssh *ssh, struct passwd *, struct sshkey *,
172 void do_authentication2(struct ssh *);
174 void auth_log(struct ssh *, int, int, const char *, const char *);
175 void auth_maxtries_exceeded(struct ssh *) __attribute__((noreturn));
176 void userauth_finish(struct ssh *, int, const char *, const char *);
177 int auth_root_allowed(struct ssh *, const char *);
187 int auth2_challenge(struct ssh *, char *);
188 void auth2_challenge_stop(struct ssh *);
192 int allowed_user(struct ssh *, struct passwd *);
193 struct passwd * getpwnamallow(struct ssh *, const char *user);
200 const char *auth_get_canonical_hostname(struct ssh *, int);
208 struct sshkey *get_hostkey_public_by_index(int, struct ssh *);
209 struct sshkey *get_hostkey_public_by_type(int, int, struct ssh *);
210 struct sshkey *get_hostkey_private_by_type(int, int, struct ssh *);
211 int get_hostkey_index(struct sshkey *, int, struct ssh *);
212 int sshd_hostkey_sign(struct ssh *, struct sshkey *, struct sshkey *,
216 int auth_activate_options(struct ssh *, struct sshauthopt *);
217 void auth_restrict_session(struct ssh *);
223 void auth_debug_send(struct ssh *);
242 int sys_auth_passwd(struct ssh *, const char *);