Lines Matching defs:ssh

47 #include "ssh.h"
63 #include "ssh-gss.h"
249 mm_sshkey_sign(struct ssh *ssh, struct sshkey *key, u_char **sigp, size_t *lenp,
279 mm_decode_activate_server_options(struct ssh *ssh, struct sshbuf *m)
331 mm_getpwnamallow(struct ssh *ssh, const char *username)
374 mm_decode_activate_server_options(ssh, m);
375 server_process_permitopen(ssh);
376 server_process_channel_timeouts(ssh);
377 kex_set_server_sig_algs(ssh, options.pubkey_accepted_algos);
434 mm_auth_password(struct ssh *ssh, char *password)
461 mm_user_key_allowed(struct ssh *ssh, struct passwd *pw, struct sshkey *key,
469 mm_hostbased_key_allowed(struct ssh *ssh, struct passwd *pw,
576 mm_send_keystate(struct ssh *ssh, struct monitor *monitor)
583 if ((r = ssh_packet_get_state(ssh, m)) != 0)
682 mm_get_state(struct ssh *ssh, struct include_list *includes,
709 (r = sshbuf_get_stringb(m, ssh->kex->server_version)) != 0 ||
710 (r = sshbuf_get_stringb(m, ssh->kex->client_version)) != 0 ||
928 server_process_permitopen_list(struct ssh *ssh, int listen,
937 channel_clear_permission(ssh, FORWARD_ADM, where);
945 channel_disable_admin(ssh, where);
958 channel_add_permission(ssh, FORWARD_ADM,
968 server_process_permitopen(struct ssh *ssh)
970 server_process_permitopen_list(ssh, 0,
972 server_process_permitopen_list(ssh, 1,
977 server_process_channel_timeouts(struct ssh *ssh)
983 channel_clear_timeouts(ssh);
990 channel_add_timeout(ssh, type, secs);
996 server_get_connection_info(struct ssh *ssh, int populate, int use_dns)
1000 if (ssh == NULL || !populate)
1002 ci.host = use_dns ? ssh_remote_hostname(ssh) : ssh_remote_ipaddr(ssh);
1003 ci.address = ssh_remote_ipaddr(ssh);
1004 ci.laddress = ssh_local_ipaddr(ssh);
1005 ci.lport = ssh_local_port(ssh);
1006 ci.rdomain = ssh_packet_rdomain_in(ssh);