Home
last modified time | relevance | path

Searched defs:ssh (Results 1 – 25 of 45) sorted by relevance

12

/openssh-portable/
H A Dpacket.h52 struct ssh { struct
54 struct session_state *state;
57 struct kex *kex;
60 char *remote_ipaddr;
61 int remote_port;
85 struct ssh_channels *chanctxt; argument
91 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *, argument
H A Dnchan.c109 chan_read_failed(struct ssh *ssh, Channel *c) in chan_read_failed()
125 chan_ibuf_empty(struct ssh *ssh, Channel *c) in chan_ibuf_empty()
147 chan_obuf_empty(struct ssh *ssh, Channel *c) in chan_obuf_empty()
168 chan_rcvd_eow(struct ssh *ssh, Channel *c) in chan_rcvd_eow()
180 chan_send_eof2(struct ssh *ssh, Channel *c) in chan_send_eof2()
204 chan_send_close2(struct ssh *ssh, Channel *c) in chan_send_close2()
228 chan_send_eow2(struct ssh *ssh, Channel *c) in chan_send_eow2()
253 chan_rcvd_ieof(struct ssh *ssh, Channel *c) in chan_rcvd_ieof()
266 chan_rcvd_oclose(struct ssh *ssh, Channel *c) in chan_rcvd_oclose()
306 chan_write_failed(struct ssh *ssh, Channel *c) in chan_write_failed()
[all …]
H A Dpacket.c226 struct ssh *ssh = NULL; in ssh_alloc_session_state() local
338 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
518 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr()
543 ssh_remote_port(struct ssh *ssh) in ssh_remote_port()
555 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr()
564 ssh_local_port(struct ssh *ssh) in ssh_local_port()
650 ssh_packet_close(struct ssh *ssh) in ssh_packet_close()
1202 ssh_packet_send2(struct ssh *ssh) in ssh_packet_send2()
1377 ssh_packet_read(struct ssh *ssh) in ssh_packet_read()
2577 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end()
[all …]
H A Dssh_api.c78 struct ssh *ssh; in ssh_init() local
140 ssh_free(struct ssh *ssh) in ssh_free()
171 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data()
212 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback()
230 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next()
289 ssh_output_ptr(struct ssh *ssh, size_t *len) in ssh_output_ptr()
298 ssh_output_consume(struct ssh *ssh, size_t len) in ssh_output_consume()
304 ssh_output_space(struct ssh *ssh, size_t len) in ssh_output_space()
310 ssh_input_space(struct ssh *ssh, size_t len) in ssh_input_space()
416 _ssh_exchange_banner(struct ssh *ssh) in _ssh_exchange_banner()
[all …]
H A Ddispatch.c41 dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_error()
55 dispatch_protocol_ignore(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_ignore()
62 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init()
70 ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) in ssh_dispatch_range()
82 ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn) in ssh_dispatch_set()
88 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run()
129 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run_fatal()
H A Dchannels.c226 channel_init_channels(struct ssh *ssh) in channel_init_channels()
241 channel_by_id(struct ssh *ssh, int id) in channel_by_id()
276 channel_lookup(struct ssh *ssh, int id) in channel_lookup()
639 channel_free_all(struct ssh *ssh) in channel_free_all()
673 channel_close_all(struct ssh *ssh) in channel_close_all()
686 channel_stop_listening(struct ssh *ssh) in channel_stop_listening()
735 channel_still_open(struct ssh *ssh) in channel_still_open()
778 channel_find_open(struct ssh *ssh) in channel_find_open()
859 channel_open_message(struct ssh *ssh) in channel_open_message()
2654 channel_output_poll(struct ssh *ssh)
[all …]
H A Dserverloop.c181 client_alive_check(struct ssh *ssh) in client_alive_check()
219 wait_until_can_do_something(struct ssh *ssh, in wait_until_can_do_something()
319 process_input(struct ssh *ssh, fd_set *readset, int connection_in) in process_input()
368 process_buffered_input_packets(struct ssh *ssh) in process_buffered_input_packets()
374 collect_children(struct ssh *ssh) in collect_children()
396 server_loop2(struct ssh *ssh, Authctxt *authctxt) in server_loop2()
466 server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh) in server_input_keep_alive()
527 server_request_direct_streamlocal(struct ssh *ssh) in server_request_direct_streamlocal()
570 server_request_tun(struct ssh *ssh) in server_request_tun()
639 server_request_session(struct ssh *ssh) in server_request_session()
[all …]
H A Dmonitor.c272 monitor_child_preauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_preauth()
389 monitor_child_postauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_postauth()
572 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli()
614 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign()
831 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv()
989 mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_start()
1052 mm_answer_pam_query(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_query()
1460 mm_record_login(struct ssh *ssh, Session *s, struct passwd *pw) in mm_record_login()
1496 mm_answer_pty(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pty()
1584 mm_answer_term(struct ssh *ssh, int sock, struct sshbuf *req) in mm_answer_term()
[all …]
H A Dsession.c1467 child_close_fds(struct ssh *ssh) in child_close_fds()
1901 session_pty_req(struct ssh *ssh, Session *s) in session_pty_req()
1995 session_x11_req(struct ssh *ssh, Session *s) in session_x11_req()
2031 session_shell_req(struct ssh *ssh, Session *s) in session_shell_req()
2041 session_exec_req(struct ssh *ssh, Session *s) in session_exec_req()
2057 session_break_req(struct ssh *ssh, Session *s) in session_break_req()
2071 session_env_req(struct ssh *ssh, Session *s) in session_env_req()
2132 session_signal_req(struct ssh *ssh, Session *s) in session_signal_req()
2245 session_set_fds(struct ssh *ssh, Session *s, in session_set_fds()
2325 session_close_x11(struct ssh *ssh, int id) in session_close_x11()
[all …]
H A Dkex.c400 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch()
407 kex_send_ext_info(struct ssh *ssh) in kex_send_ext_info()
429 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys()
485 kex_input_newkeys(int type, u_int32_t seq, struct ssh *ssh) in kex_input_newkeys()
508 kex_send_kexinit(struct ssh *ssh) in kex_send_kexinit()
538 kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh) in kex_input_kexinit()
667 kex_ready(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_ready()
680 kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_setup()
699 kex_start_rekex(struct ssh *ssh) in kex_start_rekex()
831 kex_choose_conf(struct ssh *ssh) in kex_choose_conf()
[all …]
H A Dclientloop.c234 set_control_persist_exit_time(struct ssh *ssh) in set_control_persist_exit_time()
450 client_check_window_change(struct ssh *ssh) in client_check_window_change()
482 server_alive_check(struct ssh *ssh) in server_alive_check()
504 client_wait_until_can_do_something(struct ssh *ssh, in client_wait_until_can_do_something()
772 process_cmdline(struct ssh *ssh) in process_cmdline()
949 process_escapes(struct ssh *ssh, Channel *c, in process_escapes()
1188 client_process_buffered_input_packets(struct ssh *ssh) in client_process_buffered_input_packets()
1550 client_request_forwarded_streamlocal(struct ssh *ssh, in client_request_forwarded_streamlocal()
1636 client_request_tun_fwd(struct ssh *ssh, int tun_mode, in client_request_tun_fwd()
2055 client_input_hostkeys(struct ssh *ssh) in client_input_hostkeys()
[all …]
H A Dsshconnect2.c468 userauth(struct ssh *ssh, char *authlist) in userauth()
693 userauth_gssapi(struct ssh *ssh) in userauth_gssapi()
749 userauth_gssapi_cleanup(struct ssh *ssh) in userauth_gssapi_cleanup()
963 userauth_none(struct ssh *ssh) in userauth_none()
979 userauth_passwd(struct ssh *ssh) in userauth_passwd()
1203 sign_and_send_pubkey(struct ssh *ssh, Identity *id) in sign_and_send_pubkey()
1363 send_pubkey_test(struct ssh *ssh, Identity *id) in send_pubkey_test()
1641 pubkey_cleanup(struct ssh *ssh) in pubkey_cleanup()
1683 userauth_pubkey(struct ssh *ssh) in userauth_pubkey()
1731 userauth_kbdint(struct ssh *ssh) in userauth_kbdint()
[all …]
H A Dauth2-gss.c62 userauth_gssapi(struct ssh *ssh) in userauth_gssapi()
138 input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_token()
202 input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_errtok()
246 input_gssapi_exchange_complete(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_exchange_complete()
279 input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_mic()
H A Dauth.c100 allowed_user(struct ssh *ssh, struct passwd * pw) in allowed_user()
311 auth_log(struct ssh *ssh, int authenticated, int partial, in auth_log()
376 auth_maxtries_exceeded(struct ssh *ssh) in auth_maxtries_exceeded()
394 auth_root_allowed(struct ssh *ssh, const char *method) in auth_root_allowed()
561 getpwnamallow(struct ssh *ssh, const char *user) in getpwnamallow()
678 auth_debug_send(struct ssh *ssh) in auth_debug_send()
737 remote_hostname(struct ssh *ssh) in remote_hostname()
826 auth_get_canonical_hostname(struct ssh *ssh, int use_dns) in auth_get_canonical_hostname()
1064 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options()
1079 auth_restrict_session(struct ssh *ssh) in auth_restrict_session()
[all …]
H A Dauth2-pubkey.c88 userauth_pubkey(struct ssh *ssh) in userauth_pubkey()
297 check_principals_line(struct ssh *ssh, char *cp, const struct sshkey_cert *cert, in check_principals_line()
347 process_principals(struct ssh *ssh, FILE *f, const char *file, in process_principals()
384 match_principals_file(struct ssh *ssh, struct passwd *pw, char *file, in match_principals_file()
410 match_principals_command(struct ssh *ssh, struct passwd *user_pw, in match_principals_command()
579 check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in check_authkey_line()
718 check_authkeys_file(struct ssh *ssh, struct passwd *pw, FILE *f, in check_authkeys_file()
750 user_cert_trusted_ca(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_cert_trusted_ca()
855 user_key_allowed2(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_key_allowed2()
883 user_key_command_allowed2(struct ssh *ssh, struct passwd *user_pw, in user_key_command_allowed2()
[all …]
H A Dkexgexs.c63 kexgex_server(struct ssh *ssh) in kexgex_server()
72 input_kex_dh_gex_request(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_request()
126 input_kex_dh_gex_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_init()
H A Dkexgexc.c60 kexgex_client(struct ssh *ssh) in kexgex_client()
94 input_kex_dh_gex_group(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_group()
143 input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_reply()
H A Dkexgen.c99 kex_gen_client(struct ssh *ssh) in kex_gen_client()
139 input_kex_gen_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_reply()
237 kex_gen_server(struct ssh *ssh) in kex_gen_server()
245 input_kex_gen_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_init()
H A Dauth2-chall.c194 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge()
210 auth2_challenge_stop(struct ssh *ssh) in auth2_challenge_stop()
223 auth2_challenge_start(struct ssh *ssh) in auth2_challenge_start()
254 send_userauth_info_request(struct ssh *ssh) in send_userauth_info_request()
291 input_userauth_info_response(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_info_response()
H A Dauth-passwd.c77 auth_password(struct ssh *ssh, const char *password) in auth_password()
167 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd()
192 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd()
H A Dmux.c268 mux_master_process_hello(struct ssh *ssh, u_int rid, in mux_master_process_hello()
335 mux_master_process_new_session(struct ssh *ssh, u_int rid, in mux_master_process_new_session()
501 mux_master_process_alive_check(struct ssh *ssh, u_int rid, in mux_master_process_alive_check()
518 mux_master_process_terminate(struct ssh *ssh, u_int rid, in mux_master_process_terminate()
695 mux_master_process_open_fwd(struct ssh *ssh, u_int rid, in mux_master_process_open_fwd()
862 mux_master_process_close_fwd(struct ssh *ssh, u_int rid, in mux_master_process_close_fwd()
974 mux_master_process_stdio_fwd(struct ssh *ssh, u_int rid, in mux_master_process_stdio_fwd()
1142 mux_master_process_proxy(struct ssh *ssh, u_int rid, in mux_master_process_proxy()
1159 mux_master_read_cb(struct ssh *ssh, Channel *c) in mux_master_read_cb()
1263 mux_tty_alloc_failed(struct ssh *ssh, Channel *c) in mux_tty_alloc_failed()
[all …]
H A Dsshd.c478 privsep_preauth(struct ssh *ssh) in privsep_preauth()
547 privsep_postauth(struct ssh *ssh, Authctxt *authctxt)
699 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh)
705 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh)
719 get_hostkey_public_by_index(int ind, struct ssh *ssh)
754 notify_hostkeys(struct ssh *ssh)
1306 check_ip_options(struct ssh *ssh)
1338 set_process_rdomain(struct ssh *ssh, const char *name)
1419 struct ssh *ssh = NULL; local
2206 sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey,
[all …]
H A Dauth2-hostbased.c60 userauth_hostbased(struct ssh *ssh) in userauth_hostbased()
171 hostbased_key_allowed(struct ssh *ssh, struct passwd *pw, in hostbased_key_allowed()
H A Dauth2-none.c62 userauth_none(struct ssh *ssh) in userauth_none()
H A Dauth2.c142 userauth_send_banner(struct ssh *ssh, const char *msg) in userauth_send_banner()
155 userauth_banner(struct ssh *ssh) in userauth_banner()
174 do_authentication2(struct ssh *ssh) in do_authentication2()
186 input_service_request(int type, u_int32_t seq, struct ssh *ssh) in input_service_request()
264 input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_request()
354 userauth_finish(struct ssh *ssh, int authenticated, const char *method, in userauth_finish()

Completed in 51 milliseconds

12